浏览代码

update

add_mode
DengBiao 1年前
父节点
当前提交
812ac88180
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. +1
    -2
      app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go

+ 1
- 2
app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go 查看文件

@@ -739,8 +739,7 @@ func CentralKitchenForSchoolReserveList(req md.CentralKitchenForSchoolReserveLis
}

sess := db.Db.
Where("central_kitchen_for_school_user_with_day.state = ?", enum2.CentralKitchenForSchoolUserWithDayStateForWait).
Or("central_kitchen_for_school_user_with_day.state = ?", enum2.CentralKitchenForSchoolUserWithDayStateForAlready).
In("central_kitchen_for_school_user_with_day.state", []int{enum2.CentralKitchenForSchoolUserWithDayStateForWait, 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)


正在加载...
取消
保存