标签内容修改
This commit is contained in:
+12
-13
@@ -135,19 +135,18 @@
|
||||
i.item_text as attribute_type_name,i.en_name as attribute_type_en_name
|
||||
from sys_dict as d
|
||||
left join sys_dict_item as i on d.attribute_type=i.item_value
|
||||
where i.dict_id="1494570247913512962" and d.del_flag=0
|
||||
<if test="params.cut='cn'">
|
||||
<if test="params.dictName != null and params.dictName != ''">
|
||||
and d.dict_en_name like concat('%',#{params.dictName},'%')
|
||||
</if>
|
||||
</if>
|
||||
|
||||
<if test="params.cut='en'">
|
||||
<if test="params.dictName != null and params.dictName != ''">
|
||||
and d.dict_en_name like concat('%',#{params.dictName},'%')
|
||||
</if>
|
||||
</if>
|
||||
order by f.create_time desc
|
||||
where i.dict_id="1494570247913512962" and d.del_flag=0 and d.is_tag_dict=1
|
||||
<choose>
|
||||
<when test="params.dictName != null and params.dictName != ''">
|
||||
<if test='params.cut="cn"'>
|
||||
and d.dict_name like concat('%',#{params.dictName},'%')
|
||||
</if>
|
||||
|
||||
<if test='params.cut="en"'>
|
||||
and d.dict_en_name like concat('%',#{params.dictName},'%')
|
||||
</if>
|
||||
</when>
|
||||
</choose>
|
||||
order by d.create_time desc
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user