资产授权
parent
c585d9ba98
commit
706cd178ab
|
@ -116,7 +116,7 @@
|
||||||
su.user_id
|
su.user_id
|
||||||
FROM
|
FROM
|
||||||
`h6_cloud_server`.sys_user su
|
`h6_cloud_server`.sys_user su
|
||||||
LEFT JOIN `h6_cloud_server`.asset_impower aa ON su.user_id = aa.user_id
|
LEFT JOIN `h6_cloud_server`.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}
|
||||||
|
@ -131,7 +131,7 @@
|
||||||
sd.dept_id
|
sd.dept_id
|
||||||
FROM
|
FROM
|
||||||
`h6_cloud_server`.sys_dept sd
|
`h6_cloud_server`.sys_dept sd
|
||||||
LEFT JOIN `h6_cloud_server`.asset_impower aa on sd.dept_id = aa.dept_id
|
LEFT JOIN `h6_cloud_server`.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