concat 修改

This commit is contained in:
RuoYi
2018-06-21 14:45:19 +08:00
parent 36dfecdc16
commit 94e56cced5
12 changed files with 13 additions and 13 deletions

View File

@ -23,7 +23,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select dict_code, dict_sort, dict_label, dict_value, dict_type, css_class, is_default, status, create_by, create_time, remark from sys_dict_data
<where>
<if test="searchValue != null and searchValue != ''">
AND dict_label like concat(concat('%', #{searchValue}), '%')
AND dict_label like concat('%', #{searchValue}, '%')
</if>
<if test="dictType != null and dictType != ''">
AND dict_type = #{dictType}