【fix】超标模糊筛选未生效问题

This commit is contained in:
nixj 2024-07-02 16:19:55 +08:00
parent be31c71014
commit f8f99479e9
1 changed files with 2 additions and 0 deletions

View File

@ -46,10 +46,12 @@ public class ManageOrderDetailRepositoryImpl implements ManageOrderDetailReposit
}
if (!dto.getOrderNo().isEmpty()) {
dto.setOrderNo(dto.getOrderNo()+"%");
query+="AND oes.order_no LIKE (:orderNo) ";
}
if (!dto.getActualOrderNo().isEmpty()) {
dto.setActualOrderNo(dto.getActualOrderNo()+"%");
query+="AND oes.actual_order_no LIKE (:actualOrderNo) ";
}