ruoyi-system/src/main/resources/mapper/system/SysDictDataMapper.xml
@@ -42,7 +42,7 @@ <select id="selectDictDataList" parameterType="SysDictData" resultMap="SysDictDataResult"> <include refid="selectDictDataVo"/> <where> where 1=1 <if test="dictType != null and dictType != ''"> AND dict_type = #{dictType} </if> @@ -54,10 +54,10 @@ </if> <if test="guid != null and guid != ''"> AND guid = #{guid} </if> <if test="orgid != null and orgid != ''"> </if> <if test="orgid != null and orgid != ''"> AND orgid = #{orgid} </if> </where> order by dict_sort asc </select>