|
@@ -66,6 +66,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
where dict_type = #{dictType} limit 1
|
|
where dict_type = #{dictType} limit 1
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
+ <select id="checkDictNameUnique" parameterType="String" resultMap="SysDictTypeResult">
|
|
|
|
+ <include refid="selectDictTypeVo"/>
|
|
|
|
+ where dict_name = #{dictName} limit 1
|
|
|
|
+ </select>
|
|
|
|
+
|
|
<delete id="deleteDictTypeById" parameterType="Long">
|
|
<delete id="deleteDictTypeById" parameterType="Long">
|
|
delete from sys_dict_type where dict_id = #{dictId}
|
|
delete from sys_dict_type where dict_id = #{dictId}
|
|
</delete>
|
|
</delete>
|