From b2b96caabc00ef22d6fe7798a463ea018b65d25e Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Fri, 23 Feb 2024 10:55:59 +0800 Subject: [PATCH] update --- app/admin/svc/order/svc_central_kitchen_for_school_order.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/admin/svc/order/svc_central_kitchen_for_school_order.go b/app/admin/svc/order/svc_central_kitchen_for_school_order.go index a8c7ec0..de93933 100644 --- a/app/admin/svc/order/svc_central_kitchen_for_school_order.go +++ b/app/admin/svc/order/svc_central_kitchen_for_school_order.go @@ -344,7 +344,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context, req md.CentralKitch if err6 != nil { fmt.Println("dealReturnOrdMap_ERR::::", err6.Error()) //TODO::1、将 central_kitchen_for_school_user_refund_day 审核状态修改为`退款中` - sql := fmt.Sprintf("update central_kitchen_for_school_user_refund_day set state = 3, memo = %s where out_request_no = '%s'", v.OutRequestNo, err6.Error()) + sql := fmt.Sprintf("update central_kitchen_for_school_user_refund_day set state =5, memo = %s where out_request_no = '%s'", v.OutRequestNo, err6.Error()) db.ExecuteOriginalSql(db.Db, sql) utils.FilePutContents("dealReturnOrdMap_ERR", utils.SerializeStr(map[string]interface{}{ "sql": sql, @@ -380,7 +380,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context, req md.CentralKitch if err6 != nil { fmt.Println("dealReturnOrdMapForWx_ERR::::", err6.Error()) //TODO::1、将审核状态修改为`退款中` - sql := fmt.Sprintf("update central_kitchen_for_school_user_refund_day set state = 3, memo = %s where out_request_no = '%s'", v.OutRequestNo, err6.Error()) + sql := fmt.Sprintf("update central_kitchen_for_school_user_refund_day set state = 5, memo = %s where out_request_no = '%s'", v.OutRequestNo, err6.Error()) db.ExecuteOriginalSql(db.Db, sql) utils.FilePutContents("dealReturnOrdMapForWx_ERR", utils.SerializeStr(map[string]interface{}{ "sql": sql,