From bb8ba019ac139b90f98f86c07a5745e2d890eb5c Mon Sep 17 00:00:00 2001 From: "rong.liu" Date: Fri, 22 Dec 2023 18:14:59 +0800 Subject: [PATCH] commit+1 --- .../users/controller/EnterpriseCertificationController.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/users/src/main/java/com/huoran/users/controller/EnterpriseCertificationController.java b/users/src/main/java/com/huoran/users/controller/EnterpriseCertificationController.java index 1e7d52a..233481d 100644 --- a/users/src/main/java/com/huoran/users/controller/EnterpriseCertificationController.java +++ b/users/src/main/java/com/huoran/users/controller/EnterpriseCertificationController.java @@ -145,7 +145,8 @@ public class EnterpriseCertificationController { //删除账号表 QueryWrapper accountQueryWrapper1 = new QueryWrapper<>(); - accountQueryWrapper1.eq("id", enterpriseCertification.getAccountId()); + accountQueryWrapper1.eq("app_open_id", enterpriseCertification.getOpenId()); + accountQueryWrapper1.eq("platform_id",enterpriseCertification.getPlatformSource()); HrUserAccount userAccount = userAccountService.getOne(accountQueryWrapper1); userAccountService.removeById(userAccount); @@ -153,7 +154,7 @@ public class EnterpriseCertificationController { userInfoService.removeById(userAccount.getUserId()); //删除团队信息表 - service.deleteTeamInformation(enterpriseCertification.getAccountId()); + service.deleteTeamInformation(userAccount.getId()); } boolean delState = service.removeByIds(ids);