main
rong.liu 11 months ago
parent 8478119ad7
commit bb8ba019ac
  1. 5
      users/src/main/java/com/huoran/users/controller/EnterpriseCertificationController.java

@ -145,7 +145,8 @@ public class EnterpriseCertificationController {
//删除账号表 //删除账号表
QueryWrapper<HrUserAccount> accountQueryWrapper1 = new QueryWrapper<>(); QueryWrapper<HrUserAccount> 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); HrUserAccount userAccount = userAccountService.getOne(accountQueryWrapper1);
userAccountService.removeById(userAccount); userAccountService.removeById(userAccount);
@ -153,7 +154,7 @@ public class EnterpriseCertificationController {
userInfoService.removeById(userAccount.getUserId()); userInfoService.removeById(userAccount.getUserId());
//删除团队信息表 //删除团队信息表
service.deleteTeamInformation(enterpriseCertification.getAccountId()); service.deleteTeamInformation(userAccount.getId());
} }
boolean delState = service.removeByIds(ids); boolean delState = service.removeByIds(ids);

Loading…
Cancel
Save