|
|
@@ -56,6 +56,12 @@ func CentralKitchenForSchoolOrderRefundList(req md.CentralKitchenForSchoolOrderR |
|
|
|
if req.EndRefundTime != "" { |
|
|
|
sess.And("central_kitchen_for_school_user_with_day.date <= ?", req.EndRefundTime) |
|
|
|
} |
|
|
|
if req.StartRefundDate != "" { |
|
|
|
sess.And("central_kitchen_for_school_user_refund_day.refund_date >= ?", req.StartRefundDate) |
|
|
|
} |
|
|
|
if req.EndRefundDate != "" { |
|
|
|
sess.And("central_kitchen_for_school_user_refund_day.refund_date <= ?", req.EndRefundDate) |
|
|
|
} |
|
|
|
if req.OutTradeNo != "" { |
|
|
|
sess.And("central_kitchen_for_school_user_refund_day.out_trade_no like ?", "%"+req.OutTradeNo+"%") |
|
|
|
} |
|
|
|