|
|
@@ -1563,7 +1563,7 @@ func CentralKitchenForSchoolDataStatisticsExport(req md.CentralKitchenForSchoolD |
|
|
|
sess.And("central_kitchen_for_school_user_refund_day.create_at >= ?", req.StartDate) |
|
|
|
} |
|
|
|
if req.EndDate != "" { |
|
|
|
sess.And("central_kitchen_for_school_user_refund_day.pay_at <= ?", req.EndDate) |
|
|
|
sess.And("central_kitchen_for_school_user_refund_day.create_at <= ?", req.EndDate) |
|
|
|
} |
|
|
|
if len(req.MealKindList) > 0 { |
|
|
|
sess.In("central_kitchen_for_school_user_with_day.kind", req.MealKindList) |
|
|
|