|
|
|
@ -105,7 +105,7 @@ |
|
|
|
from sys_user a |
|
|
|
left join AccessSite b on a.username = b.UserID |
|
|
|
left join AccessProject c on a.username = c.username and c.project_id = #{projectId} and c.site = b.site |
|
|
|
left join AccessRole e on a.username=e.username |
|
|
|
left join AccessRole e on a.username=e.username and e.site= #{site} |
|
|
|
<where> |
|
|
|
and e.role_no='R001' |
|
|
|
<if test="site != null and site != ''"> |
|
|
|
|