From 6b5ca74db784994652fc6dc060876b3c75fec51d Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Mon, 4 Sep 2023 11:19:24 +0800 Subject: [PATCH] update --- app/admin/svc/order/svc_central_kitchen_for_school_order.go | 4 +++- 1 file changed, 3 insertions(+), 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 335ce8a..f1752ef 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 @@ -9,6 +9,7 @@ import ( "applet/app/enum" "applet/app/utils" "errors" + "fmt" "time" ) @@ -213,7 +214,8 @@ func CentralKitchenForSchoolOrderRefundAudit(req md.CentralKitchenForSchoolOrder } returnDay.State = enum.CentralKitchenForSchoolUserRefundDayStateForAuditComplete returnDay.RefundDate = time.Now().Format("2006-01-02 15:04:05") - updateAck2, err7 := centralKitchenForSchoolUserWithDayDb.CentralKitchenForSchoolUserWithDayUpdate(userWithDay.Id, userWithDay, "state") + updateAck2, err7 := centralKitchenForSchoolUserWithDayDb.CentralKitchenForSchoolUserWithDayUpdate(userWithDay.Id, userWithDay, "state", "refund_date") + fmt.Println(">>>>>>>>>>>>>>>>>updateAck2<<<<<<<<<<<<<<", updateAck2) if err7 != nil { _ = session.Rollback() return err7