|
|
@@ -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 |
|
|
|