mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-11-28 03:29:25 +08:00
update 优化 重构系统业务数据权限 避免可能存在的越权风险
This commit is contained in:
@@ -11,6 +11,10 @@
|
||||
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>
|
||||
|
||||
<select id="selectDeptListByRoleId" resultType="Long">
|
||||
select d.dept_id
|
||||
from sys_dept d
|
||||
|
||||
Reference in New Issue
Block a user