From e2ff417465dade4fce91adbb0ec208f32fc10da3 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Tue, 5 Mar 2024 11:06:18 +0800 Subject: [PATCH] update --- app/admin/svc/order/svc_central_kitchen_for_school_order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 43b4094..16fc99a 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 @@ -439,7 +439,7 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context, req md.CentralKitch //TODO::2、将 central_kitchen_for_school_user_with_day 修改状态为退款中 sql1 := "update central_kitchen_for_school_user_with_day set state = %d where id In (%s)" idsStr := strings.Join(dealReturnOrd[k], ",") - sql1 = fmt.Sprintf(sql, enum.CentralKitchenForSchoolUserWithDayStateForCanceling, idsStr) + sql1 = fmt.Sprintf(sql1, enum.CentralKitchenForSchoolUserWithDayStateForCanceling, idsStr) db.ExecuteOriginalSql(db.Db, sql1) utils.FilePutContents("dealReturnOrdMapForWx_ERR", utils.SerializeStr(map[string]interface{}{