mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2025-10-20 12:37:42 +00:00
优化部分查询SQL
This commit is contained in:
@@ -55,7 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
</select>
|
||||
|
||||
<select id="countDictDataByType" resultType="Integer">
|
||||
select count(*) from sys_dict_data where dict_type=#{dictType}
|
||||
select count(1) from sys_dict_data where dict_type=#{dictType}
|
||||
</select>
|
||||
|
||||
<delete id="deleteDictDataById" parameterType="Long">
|
||||
|
Reference in New Issue
Block a user