添加查询接口返回值
This commit is contained in:
parent
3c8e07cfe4
commit
7ce2dbe22a
|
|
@ -48,6 +48,8 @@
|
||||||
su.user_name,
|
su.user_name,
|
||||||
so.org_name AS oldOrgName,
|
so.org_name AS oldOrgName,
|
||||||
so2.org_name AS newOrgName,
|
so2.org_name AS newOrgName,
|
||||||
|
ag.group_name AS oldAttGroup,
|
||||||
|
ag2.group_name AS newAttGroup,
|
||||||
oc.*
|
oc.*
|
||||||
FROM
|
FROM
|
||||||
org_change oc
|
org_change oc
|
||||||
|
|
@ -57,6 +59,10 @@
|
||||||
AND so.is_active = '1'
|
AND so.is_active = '1'
|
||||||
LEFT JOIN sys_organization so2 ON oc.new_org_id = so2.id
|
LEFT JOIN sys_organization so2 ON oc.new_org_id = so2.id
|
||||||
AND so2.is_active = '1'
|
AND so2.is_active = '1'
|
||||||
|
LEFT JOIN att_group ag ON oc.old_att_group = ag.id
|
||||||
|
AND ag.is_active = '1'
|
||||||
|
LEFT JOIN att_group ag2 ON oc.new_att_group = ag2.id
|
||||||
|
AND ag2.is_active = '1'
|
||||||
WHERE
|
WHERE
|
||||||
oc.is_active = '1'
|
oc.is_active = '1'
|
||||||
and oc.id = #{id}
|
and oc.id = #{id}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue