|
|
|
|
@ -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
|
|
|
|
|
<where>
|
|
|
|
|
<if test="record.typeFlag != null and record.typeFlag != ''">
|
|
|
|
|
@ -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
|
|
|
|
|
<where>
|
|
|
|
|
f.id IN (${ids})
|
|
|
|
|
|