From c8df0b8977a1b5c3d939c4f99a52c609fbf17228 Mon Sep 17 00:00:00 2001 From: zengwh <81383286@qq.com> Date: Mon, 20 Apr 2020 17:50:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8A=9F=E8=83=BD=E5=88=86?= =?UTF-8?q?=E9=85=8D=E7=9A=84=E6=95=B0=E6=8D=AE=E5=AD=97=E5=85=B8=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E7=BB=93=E6=9E=84=E6=9B=B4=E6=8D=A2=E5=90=8E=E7=9A=84?= =?UTF-8?q?=E5=AD=97=E5=85=B8=E6=9F=A5=E8=AF=A2bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Emr_Fun_Group_DistributionMapper.xml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/src/main/resources/mapper/Emr_Fun_Group_DistributionMapper.xml b/src/main/resources/mapper/Emr_Fun_Group_DistributionMapper.xml index 3c0c6ff..4c2f5bd 100644 --- a/src/main/resources/mapper/Emr_Fun_Group_DistributionMapper.xml +++ b/src/main/resources/mapper/Emr_Fun_Group_DistributionMapper.xml @@ -222,14 +222,7 @@ FROM emr_dictionary WHERE - parent_id = ( - SELECT - id - FROM - emr_dictionary - WHERE - typeCode = 'fun_group' - ) + parent_id = 'fun_group' ) dictionary ON f.type_flag = dictionary. CODE @@ -279,14 +272,7 @@ FROM emr_dictionary WHERE - parent_id = ( - SELECT - id - FROM - emr_dictionary - WHERE - typeCode = 'fun_group' - ) + parent_id = 'fun_group' ) dictionary ON f.type_flag = dictionary. CODE f.id IN (${ids})