字典数据条件修改

pull/15/MERGE
RuoYi 2018-07-24 22:11:04 +08:00
parent c42b3d8648
commit f081c89e73
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectDictDataVo"/>
<where>
<if test="dictType != null and dictType != ''">
AND dict_type like concat('%', #{dictType}, '%')
AND dict_type = #{dictType}
</if>
<if test="dictLabel != null and dictLabel != ''">
AND dict_label like concat('%', #{dictLabel}, '%')