资产授权
parent
94619bcadb
commit
35882cf026
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue