解决用户查询报错的bug
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
rel.user_blng_orga_dspl_seq,rel.id as orgaUserRelId,
|
||||
(select r.name from jsh_user_business ub
|
||||
inner join jsh_role r on ub.value=concat("[",r.id,"]") and ifnull(r.delete_flag,'0') !='1'
|
||||
where ub.type='UserRole' and ub.key_id=user.id) roleName
|
||||
where ub.type='UserRole' and ub.key_id=user.id limit 0,1) roleName
|
||||
FROM jsh_user user
|
||||
left join jsh_orga_user_rel rel on user.id=rel.user_id and ifnull(rel.delete_flag,'0') !='1'
|
||||
left join jsh_organization org on rel.orga_id=org.id and ifnull(org.org_stcd,'0') !='5'
|
||||
|
||||
Reference in New Issue
Block a user