From 370f5e63d82198e91802ae4d80878605ea666e57 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Fri, 23 Feb 2024 14:15:12 +0800 Subject: [PATCH] update --- .../svc/order/svc_central_kitchen_for_school_order.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 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 7be069d..dec9f41 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 @@ -223,11 +223,11 @@ func CentralKitchenForSchoolOrderRefundAudit(c *gin.Context, req md.CentralKitch return err3 } - if userWithDay.State == enum.CentralKitchenForSchoolUserWithDayStateForCancel && returnDay.State != enum.CentralKitchenForSchoolUserRefundDayStateForRefundErr { - //TODO::当前订餐记录,已退款了 - isAlreadyReturnDayId = append(isAlreadyReturnDayId, returnDay.Id) - continue - } + //if userWithDay.State == enum.CentralKitchenForSchoolUserWithDayStateForCancel && returnDay.State != enum.CentralKitchenForSchoolUserRefundDayStateForRefundErr { + // //TODO::当前订餐记录,已退款了 + // isAlreadyReturnDayId = append(isAlreadyReturnDayId, returnDay.Id) + // continue + //} userWithDay.State = enum.CentralKitchenForSchoolUserWithDayStateForCancel outRequestNo := "r_" + returnDay.OutTradeNo + outRequestNoSuffix