瀏覽代碼

mapper修改状态值

wyyay 2 年之前
父節點
當前提交
a650bca822
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      base-system/src/main/resources/mapper/system/SysDictDataMapper.xml

+ 1 - 1
base-system/src/main/resources/mapper/system/SysDictDataMapper.xml

@@ -44,7 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
 	<select id="selectDictDataByType" parameterType="SysDictData" resultMap="SysDictDataResult">
 		<include refid="selectDictDataVo"/>
-		where status = '0' and dict_type = #{dictType} order by dict_sort asc
+		where status = '1' and dict_type = #{dictType} order by dict_sort asc
 	</select>
 
 	<select id="selectDictLabel" resultType="String">