|
@@ -698,7 +698,7 @@ func SelfSupportForSchoolOrdListExport(req md.SelfSupportForSchoolOrdListReq) (r |
|
|
sess.And("self_support_for_school_ord.face_time <= ?", req.EndDate) |
|
|
sess.And("self_support_for_school_ord.face_time <= ?", req.EndDate) |
|
|
} |
|
|
} |
|
|
if req.OrderStatus != 0 { |
|
|
if req.OrderStatus != 0 { |
|
|
sess.And("self_support_for_school_ord.order_status = ", req.OrderStatus) |
|
|
|
|
|
|
|
|
sess.And("self_support_for_school_ord.order_status = ?", req.OrderStatus) |
|
|
} |
|
|
} |
|
|
if req.OutTradeNo != "" { |
|
|
if req.OutTradeNo != "" { |
|
|
sess.And("self_support_for_school_ord.out_order_no like ?", "%"+req.OutTradeNo+"%") |
|
|
sess.And("self_support_for_school_ord.out_order_no like ?", "%"+req.OutTradeNo+"%") |
|
|