From c9ef938b6c547d8c4360d0df62ad7baa96ef6e77 Mon Sep 17 00:00:00 2001 From: "rong.liu" Date: Fri, 22 Dec 2023 15:29:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=88=A0=E9=99=A4=E5=9B=A2?= =?UTF-8?q?=E9=98=9F=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AliRealNameAuthenticationController.java | 3 +++ .../users/mapper/EnterpriseCertificationMapper.java | 3 +++ .../mapper/xml/EnterpriseCertificationMapper.xml | 13 +++++++++++++ .../service/EnterpriseCertificationService.java | 2 ++ .../impl/EnterpriseCertificationServiceImpl.java | 5 +++++ 5 files changed, 26 insertions(+) diff --git a/users/src/main/java/com/huoran/users/controller/AliRealNameAuthenticationController.java b/users/src/main/java/com/huoran/users/controller/AliRealNameAuthenticationController.java index dd5e1a3..1aa9d8e 100644 --- a/users/src/main/java/com/huoran/users/controller/AliRealNameAuthenticationController.java +++ b/users/src/main/java/com/huoran/users/controller/AliRealNameAuthenticationController.java @@ -255,6 +255,9 @@ public class AliRealNameAuthenticationController { userInfoUpdateWrapper.set("user_name", enterpriseCertification.getCompanyName()); userInfoUpdateWrapper.eq("user_id", userAccount1.getUserId()); userInfoService.update(new HrUserInfo(), userInfoUpdateWrapper); + + //删除团队信息 + enterpriseCertificationService.deleteTeamInformation(enterpriseCertification.getAccountId()); return R.ok("提交成功,请等待审核!"); } diff --git a/users/src/main/java/com/huoran/users/mapper/EnterpriseCertificationMapper.java b/users/src/main/java/com/huoran/users/mapper/EnterpriseCertificationMapper.java index 857aeda..e843d46 100644 --- a/users/src/main/java/com/huoran/users/mapper/EnterpriseCertificationMapper.java +++ b/users/src/main/java/com/huoran/users/mapper/EnterpriseCertificationMapper.java @@ -22,4 +22,7 @@ public interface EnterpriseCertificationMapper extends BaseMapper + + DELETE + a, + t, + c + FROM + k_platform_team_account a + INNER JOIN k_platform_team t ON t.manage_id = a.manage_id + INNER JOIN k_platform_team_classification c ON c.id = t.classification_id + WHERE + a.account_id = #{accountId} + +