标签内容修改
This commit is contained in:
+10
-9
@@ -24,15 +24,16 @@
|
|||||||
where is_tag_dict=1 and sys_dict_id=#{params.sys_dict_id}
|
where is_tag_dict=1 and sys_dict_id=#{params.sys_dict_id}
|
||||||
|
|
||||||
<!--搜索条件:标签名称包含%,单独搜索-->
|
<!--搜索条件:标签名称包含%,单独搜索-->
|
||||||
<choose>
|
<if test="params.name != null and params.name != ''">
|
||||||
<when test='params.name != null and params.name != "" and params.name.contains("%")'>
|
<choose>
|
||||||
and name like '%1%%' escape '1'
|
<when test='params.name != null and params.name != "" and params.name.contains("%")'>
|
||||||
</when>
|
and name like '%1%%' escape '1'
|
||||||
<otherwise>
|
</when>
|
||||||
and name like concat('%',#{params.name},'%')
|
<otherwise>
|
||||||
</otherwise>
|
and name like concat('%',#{params.name},'%')
|
||||||
</choose>
|
</otherwise>
|
||||||
|
</choose>
|
||||||
|
</if>
|
||||||
order by create_time desc
|
order by create_time desc
|
||||||
</select>
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|||||||
+10
-9
@@ -150,15 +150,16 @@
|
|||||||
</choose>-->
|
</choose>-->
|
||||||
|
|
||||||
<!--搜索条件:标签名称包含%,单独搜索-->
|
<!--搜索条件:标签名称包含%,单独搜索-->
|
||||||
<choose>
|
<if test="params.dbFieldTxt != null and params.dbFieldTxt != ''">
|
||||||
<when test='params.dictName != null and params.dictName != "" and params.dictName.contains("%")'>
|
<choose>
|
||||||
and dict_name like '%1%%' escape '1'
|
<when test='params.dictName != null and params.dictName != "" and params.dictName.contains("%")'>
|
||||||
</when>
|
and dict_name like '%1%%' escape '1'
|
||||||
<otherwise>
|
</when>
|
||||||
and dict_name like concat('%',#{params.dictName},'%')
|
<otherwise>
|
||||||
</otherwise>
|
and dict_name like concat('%',#{params.dictName},'%')
|
||||||
</choose>
|
</otherwise>
|
||||||
|
</choose>
|
||||||
|
</if>
|
||||||
|
|
||||||
order by d.create_time desc
|
order by d.create_time desc
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user