Commit dd1a9216 authored by suhuiguang's avatar suhuiguang

Merge branch 'develop_tzs_register' of…

Merge branch 'develop_tzs_register' of http://39.100.92.250:5000/moa/amos-boot-biz into develop_tzs_register
parents 783e21aa f8e42573
......@@ -116,12 +116,21 @@ WHERE
<select id="getDictByExtendsAndTypePage" resultType="com.yeejoin.amos.boot.biz.common.entity.DataDictionary">
SELECT *
FROM cb_data_dictionary
WHERE type = #{type}
WHERE
<choose>
<when test="type == 'HZXM'">
type IN ('HZXM', 'HZXM_OLD')
</when>
<otherwise>
type = #{type}
</otherwise>
</choose>
<if test="extend != null and extend != ''">
AND #{extend} = ANY(string_to_array(extend, ','))
</if>
<if test="name != null and name != ''">
AND name LIKE CONCAT('%', #{name}, '%')
</if>
ORDER BY SORT_NUM
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment