|
@@ -75,10 +75,10 @@
|
|
|
|
|
|
<select id="getUserOrgDTOByIds" resultMap="UserOrgDTO">
|
|
<select id="getUserOrgDTOByIds" resultMap="UserOrgDTO">
|
|
select u.id user_id ,u.username username, u.email email, u.linkman linkman , org.id org_id,
|
|
select u.id user_id ,u.username username, u.email email, u.linkman linkman , org.id org_id,
|
|
- org.name org_name, ua.is_reject is_reject, u.auth_status au_status,org.sub_num
|
|
|
|
- from sys_user u, sys_user_organization uo, sys_organization org , sys_user_authentication ua
|
|
|
|
|
|
+ org.name org_name, u.auth_status is_reject, u.auth_status au_status,org.sub_num
|
|
|
|
+ from sys_user u, sys_user_organization uo, sys_organization org
|
|
where u.is_deleted = 'N' and uo.is_deleted = 'N' and org.is_deleted = 'N'
|
|
where u.is_deleted = 'N' and uo.is_deleted = 'N' and org.is_deleted = 'N'
|
|
- and u.id = uo.user_id and uo.organization_id = org.id and u.id = ua.user_id
|
|
|
|
|
|
+ and u.id = uo.user_id and uo.organization_id = org.id
|
|
and u.id in
|
|
and u.id in
|
|
<foreach collection="list" item="ids" open="(" close=")" separator=",">
|
|
<foreach collection="list" item="ids" open="(" close=")" separator=",">
|
|
#{ids}
|
|
#{ids}
|