diff --git a/src/main/java/com/chint/manage/mapper/impl/ManageOrderDetailRepositoryImpl.java b/src/main/java/com/chint/manage/mapper/impl/ManageOrderDetailRepositoryImpl.java index d0f51a91..e2d048ef 100644 --- a/src/main/java/com/chint/manage/mapper/impl/ManageOrderDetailRepositoryImpl.java +++ b/src/main/java/com/chint/manage/mapper/impl/ManageOrderDetailRepositoryImpl.java @@ -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) "; }