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})