ZQN
2024-09-03 94b5684557d4987add639a94d1ad41c32b5d00c0
project-system/src/main/resources/mapper/system/SysDictDataMapper.xml
@@ -126,4 +126,14 @@
       )
   </insert>
   <select id="countByDictTypeAndValue" resultType="Integer">
      select count(1) from sys_dict_data where dict_type=#{dictType} and dict_value=#{dictValue}
      <if test="dictCode != null"> and dict_code != #{dictCode} </if>
   </select>
   <select id="countByDictTypeAndLabel" resultType="Integer">
      select count(1) from sys_dict_data where dict_type=#{dictType} and dict_label=#{dictLabel}
      <if test="dictCode != null"> and dict_code != #{dictCode} </if>
   </select>
</mapper>