|
@@ -869,7 +869,13 @@ func CentralKitchenForSchoolOrdStatistics(req md.CentralKitchenForSchoolOrdListR |
|
|
sess4.In("user_identity.id", classWithUserIdentityIdsTwo) |
|
|
sess4.In("user_identity.id", classWithUserIdentityIdsTwo) |
|
|
sess5.In("user_identity.id", classWithUserIdentityIdsTwo) |
|
|
sess5.In("user_identity.id", classWithUserIdentityIdsTwo) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if req.PayWay != 0 { |
|
|
|
|
|
sess1.And("central_kitchen_for_school_package_ord.pay_way = ?", req.PayWay) |
|
|
|
|
|
sess2.And("central_kitchen_for_school_package_ord.pay_way = ?", req.PayWay) |
|
|
|
|
|
sess3.And("central_kitchen_for_school_package_ord.pay_way = ?", req.PayWay) |
|
|
|
|
|
sess4.And("central_kitchen_for_school_package_ord.pay_way = ?", req.PayWay) |
|
|
|
|
|
sess5.And("central_kitchen_for_school_package_ord.pay_way = ?", req.PayWay) |
|
|
|
|
|
} |
|
|
var m []*db.CentralKitchenForSchoolPackageOrdWithUserIdentity |
|
|
var m []*db.CentralKitchenForSchoolPackageOrdWithUserIdentity |
|
|
|
|
|
|
|
|
personNum, err = sess1. |
|
|
personNum, err = sess1. |
|
|