|
|
@@ -577,7 +577,7 @@ func SelfSupportForSchoolOrdList(req md.SelfSupportForSchoolOrdListReq) (resp [] |
|
|
|
sess.And("self_support_for_school_ord.face_time <= ?", req.EndDate) |
|
|
|
} |
|
|
|
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 != "" { |
|
|
|
sess.And("self_support_for_school_ord.out_order_no like ?", "%"+req.OutTradeNo+"%") |
|
|
|