From f8f99479e903ad491cc52b443e6a4a61612c928e Mon Sep 17 00:00:00 2001 From: nixj Date: Tue, 2 Jul 2024 16:19:55 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=E3=80=91=E8=B6=85=E6=A0=87?= =?UTF-8?q?=E6=A8=A1=E7=B3=8A=E7=AD=9B=E9=80=89=E6=9C=AA=E7=94=9F=E6=95=88?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/mapper/impl/ManageOrderDetailRepositoryImpl.java | 2 ++ 1 file changed, 2 insertions(+) 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) "; }