|
|
@@ -740,7 +740,7 @@ func CentralKitchenForSchoolReserveList(req md.CentralKitchenForSchoolReserveLis |
|
|
|
|
|
|
|
sess := db.Db. |
|
|
|
Where("central_kitchen_for_school_user_with_day.state = ?", enum2.CentralKitchenForSchoolUserWithDayStateForWait). |
|
|
|
And("central_kitchen_for_school_user_with_day.state = ?", enum2.CentralKitchenForSchoolUserWithDayStateForAlready). |
|
|
|
Or("central_kitchen_for_school_user_with_day.state = ?", enum2.CentralKitchenForSchoolUserWithDayStateForAlready). |
|
|
|
Desc("central_kitchen_for_school_package_ord_for_reserve.id") |
|
|
|
if req.EnterpriseId != 0 { |
|
|
|
sess.And("central_kitchen_for_school_package_ord_for_reserve.enterprise_id =?", req.EnterpriseId) |
|
|
|