From 36c9516ec1695030495417196f1d98e1a270a4f9 Mon Sep 17 00:00:00 2001 From: bupengxiang Date: Tue, 23 May 2023 17:36:12 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9]=20=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mybatis/mapper/sys/mysql/OrgEOMapper.xml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/adc-da-sys/src/main/resources/mybatis/mapper/sys/mysql/OrgEOMapper.xml b/adc-da-sys/src/main/resources/mybatis/mapper/sys/mysql/OrgEOMapper.xml index 054842d..b413d34 100644 --- a/adc-da-sys/src/main/resources/mybatis/mapper/sys/mysql/OrgEOMapper.xml +++ b/adc-da-sys/src/main/resources/mybatis/mapper/sys/mysql/OrgEOMapper.xml @@ -35,7 +35,24 @@ select org.* , forg.DEPARTMENT_CODE as ParentCode from TS_ORG org LEFT JOIN TS_ORG forg on org.PARENT_ID = forg.id - + + and org.DEPARTMENT_CODE LIKE CONCAT(CONCAT('%',#{pageVO.departmentCode}),'%') + + + and org.LONG_NAME LIKE CONCAT(CONCAT('%',#{pageVO.longName}) ,'%') + + + and org.LEVEL = #{pageVO.level} + + + and org.PARENT_ID = #{pageVO.parentId} + + + and org.ATTRIBUTION = #{pageVO.attribution} + + + and org.BMDM_14 = #{pageVO.bmdm14} +