资产授权

master
冷调 2024-09-03 09:20:01 +08:00
parent 94619bcadb
commit 35882cf026
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
su.user_id su.user_id
FROM FROM
sys_user su sys_user su
LEFT JOIN asset_impower aa ON su.user_id = aa.user_id LEFT JOIN asset_authorization aa ON su.user_id = aa.user_id
<where> <where>
<if test="tableId!=null"> <if test="tableId!=null">
and aa.table_id = #{tableId} and aa.table_id = #{tableId}
@ -27,7 +27,7 @@
sd.dept_id sd.dept_id
FROM FROM
sys_dept sd sys_dept sd
LEFT JOIN asset_impower aa on sd.dept_id = aa.dept_id LEFT JOIN asset_authorization aa on sd.dept_id = aa.dept_id
<where> <where>
<if test="tableId!=null"> <if test="tableId!=null">
and aa.table_id = #{tableId} and aa.table_id = #{tableId}