【fix】超标模糊筛选未生效问题
This commit is contained in:
parent
be31c71014
commit
f8f99479e9
|
@ -46,10 +46,12 @@ public class ManageOrderDetailRepositoryImpl implements ManageOrderDetailReposit
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!dto.getOrderNo().isEmpty()) {
|
if (!dto.getOrderNo().isEmpty()) {
|
||||||
|
dto.setOrderNo(dto.getOrderNo()+"%");
|
||||||
query+="AND oes.order_no LIKE (:orderNo) ";
|
query+="AND oes.order_no LIKE (:orderNo) ";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!dto.getActualOrderNo().isEmpty()) {
|
if (!dto.getActualOrderNo().isEmpty()) {
|
||||||
|
dto.setActualOrderNo(dto.getActualOrderNo()+"%");
|
||||||
query+="AND oes.actual_order_no LIKE (:actualOrderNo) ";
|
query+="AND oes.actual_order_no LIKE (:actualOrderNo) ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue