From 7ce2dbe22a515620c4eacc29567019b9caa24e4d Mon Sep 17 00:00:00 2001 From: fl <3098731433@qq.com> Date: Wed, 4 Dec 2024 16:36:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9F=A5=E8=AF=A2=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E8=BF=94=E5=9B=9E=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/att/OrgChangeMapper.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bonus-modules/bonus-system/src/main/resources/mapper/att/OrgChangeMapper.xml b/bonus-modules/bonus-system/src/main/resources/mapper/att/OrgChangeMapper.xml index 1dc4cdc..8d8f586 100644 --- a/bonus-modules/bonus-system/src/main/resources/mapper/att/OrgChangeMapper.xml +++ b/bonus-modules/bonus-system/src/main/resources/mapper/att/OrgChangeMapper.xml @@ -48,6 +48,8 @@ su.user_name, so.org_name AS oldOrgName, so2.org_name AS newOrgName, + ag.group_name AS oldAttGroup, + ag2.group_name AS newAttGroup, oc.* FROM org_change oc @@ -57,6 +59,10 @@ AND so.is_active = '1' LEFT JOIN sys_organization so2 ON oc.new_org_id = so2.id 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 oc.is_active = '1' and oc.id = #{id}