|
|
@@ -855,7 +855,7 @@ func CentralKitchenForSchoolOrdRefund(req md.CentralKitchenForSchoolOrdRefundReq |
|
|
|
var m []model.CentralKitchenForSchoolUserWithDay |
|
|
|
centralKitchenForSchoolUserWithDayDb := db.CentralKitchenForSchoolUserWithDayDb{} |
|
|
|
centralKitchenForSchoolUserWithDayDb.Set(0) |
|
|
|
err = centralKitchenForSchoolUserWithDayDb.Db.In("id", req.Ids).Find(&m) |
|
|
|
err = centralKitchenForSchoolUserWithDayDb.Db.Where("state =?", enum2.CentralKitchenForSchoolUserWithDayStateForWait).In("id", req.Ids).Find(&m) |
|
|
|
if err != nil { |
|
|
|
return err |
|
|
|
} |
|
|
|