标签内容修改

This commit is contained in:
xiejunyu
2022-03-21 10:05:17 +08:00
parent ab9cd1fd20
commit 8fc7f58259
2 changed files with 20 additions and 18 deletions
@@ -24,6 +24,7 @@
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}
<!--搜索条件:标签名称包含%,单独搜索--> <!--搜索条件:标签名称包含%,单独搜索-->
<if test="params.name != null and params.name != ''">
<choose> <choose>
<when test='params.name != null and params.name != "" and params.name.contains("%")'> <when test='params.name != null and params.name != "" and params.name.contains("%")'>
and name like '%1%%' escape '1' and name like '%1%%' escape '1'
@@ -32,7 +33,7 @@
and name like concat('%',#{params.name},'%') and name like concat('%',#{params.name},'%')
</otherwise> </otherwise>
</choose> </choose>
</if>
order by create_time desc order by create_time desc
</select> </select>
</mapper> </mapper>
@@ -150,6 +150,7 @@
</choose>--> </choose>-->
<!--搜索条件:标签名称包含%,单独搜索--> <!--搜索条件:标签名称包含%,单独搜索-->
<if test="params.dbFieldTxt != null and params.dbFieldTxt != ''">
<choose> <choose>
<when test='params.dictName != null and params.dictName != "" and params.dictName.contains("%")'> <when test='params.dictName != null and params.dictName != "" and params.dictName.contains("%")'>
and dict_name like '%1%%' escape '1' and dict_name like '%1%%' escape '1'
@@ -158,7 +159,7 @@
and dict_name like concat('%',#{params.dictName},'%') and dict_name like concat('%',#{params.dictName},'%')
</otherwise> </otherwise>
</choose> </choose>
</if>
order by d.create_time desc order by d.create_time desc
</select> </select>