diff --git a/app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go b/app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go index 6d9e890..8a8a298 100644 --- a/app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go +++ b/app/admin/svc/enterprise_manage/svc_central_kitchen_for_school.go @@ -642,10 +642,10 @@ func CentralKitchenForSchoolOrdList(req md.CentralKitchenForSchoolOrdListReq) (r if req.Kind != 0 { sess.And("central_kitchen_for_school_package_ord.kind = ?", req.Kind) } - if req.Sate != 0 { + if req.Sate != -1 { sess.And("central_kitchen_for_school_package_ord.state = ?", req.Sate) } - if req.OrdSate != 0 { + if req.OrdSate != -1 { sess.And("central_kitchen_for_school_package_ord.ord_state = ?", req.OrdSate) } if req.OutTradeNo != "" {