mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-12-02 14:26:09 +08:00
update 优化 框架整体提高查询性能
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
select * from sys_dept ${ew.getCustomSqlSegment}
|
||||
</select>
|
||||
|
||||
<select id="selectDeptById" resultMap="SysDeptResult">
|
||||
select * from sys_dept where del_flag = '0' and dept_id = #{deptId}
|
||||
<select id="countDeptById" resultType="Long">
|
||||
select count(*) from sys_dept where del_flag = '0' and dept_id = #{deptId}
|
||||
</select>
|
||||
|
||||
<select id="selectDeptListByRoleId" resultType="Long">
|
||||
|
||||
Reference in New Issue
Block a user