|
|
@@ -1554,6 +1554,7 @@ func CentralKitchenForSchoolOrdRefund(req md.CentralKitchenForSchoolOrdRefundReq |
|
|
|
if err != nil { |
|
|
|
return |
|
|
|
} |
|
|
|
defer rabbitMqCh.Release() |
|
|
|
|
|
|
|
if len(m) > 0 { |
|
|
|
//2、更改 `central_kitchen_for_school_user_with_day` 的 state 为 退款中 |
|
|
@@ -1611,6 +1612,7 @@ func CentralKitchenForSchoolBatchAskForLeaveBySchool(req md.CentralKitchenForSch |
|
|
|
if err != nil { |
|
|
|
return |
|
|
|
} |
|
|
|
defer rabbitMqCh.Release() |
|
|
|
|
|
|
|
for _, v := range req.EnterpriseIds { |
|
|
|
//1、查询学校 |
|
|
@@ -1892,6 +1894,7 @@ func CentralKitchenForSchoolBatchAskForLeaveByGrade(req md.CentralKitchenForScho |
|
|
|
if err != nil { |
|
|
|
return |
|
|
|
} |
|
|
|
defer rabbitMqCh.Release() |
|
|
|
|
|
|
|
classDb := db.ClassDb{} |
|
|
|
var classWithUser *[]model.ClassWithUser |
|
|
@@ -2189,6 +2192,7 @@ func CentralKitchenForSchoolBatchAskForLeaveByClass(req md.CentralKitchenForScho |
|
|
|
if err != nil { |
|
|
|
return |
|
|
|
} |
|
|
|
defer rabbitMqCh.Release() |
|
|
|
|
|
|
|
var classWithUser *[]model.ClassWithUser |
|
|
|
for _, v := range req.ClassIds { |
|
|
|