From cce06eda0b73643af118834a3effa80bd9bfd240 Mon Sep 17 00:00:00 2001 From: wangxianzhang Date: Wed, 23 Nov 2022 13:29:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B8=E9=85=B8=E6=A3=80=E6=B5=8B=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E5=88=97=E8=A1=A8=E6=9F=A5=E8=AF=A2=EF=BC=8CagencyId?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E4=BF=AE=E6=94=B9=EF=BC=8C=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E7=94=A8like=EF=BC=8C=E6=95=88=E7=8E=87=E5=A4=AA=E4=BD=8E?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E8=B5=B0=E7=B4=A2=E5=BC=95=EF=BC=9B=E8=A6=81?= =?UTF-8?q?=E7=94=A8=3D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../epmet-user-server/src/main/resources/mapper/IcNatDao.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/epmet-user/epmet-user-server/src/main/resources/mapper/IcNatDao.xml b/epmet-user/epmet-user-server/src/main/resources/mapper/IcNatDao.xml index 243fbebcd7..4a5872efd2 100644 --- a/epmet-user/epmet-user-server/src/main/resources/mapper/IcNatDao.xml +++ b/epmet-user/epmet-user-server/src/main/resources/mapper/IcNatDao.xml @@ -55,7 +55,8 @@ a.DEL_FLAG = '0' AND b.DEL_FLAG = '0' AND a.customer_id = #{customerId} - AND a.pids like concat('%', #{agencyId}, '%') + + AND a.AGENCY_ID = #{agencyId} AND b.name like concat('%', #{name}, '%')