0e45b599 by 肖初晴

【DAOP-1.0】企业认证

【功能点】测试问题处理
1 parent 116de3eb
...@@ -457,8 +457,16 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris ...@@ -457,8 +457,16 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
457 dto.setLogonUser(vo.getLogonUser()); 457 dto.setLogonUser(vo.getLogonUser());
458 List<UserVO> userList = userFeign.getUserSomeInfo(dto).getData().getRecords(); 458 List<UserVO> userList = userFeign.getUserSomeInfo(dto).getData().getRecords();
459 if(CollectionUtils.isNotEmpty(userList)){ 459 if(CollectionUtils.isNotEmpty(userList)){
460 throw new CsbrUserException(UserError.VALIDATE_CODE_ERROR, "账号已存在!");
461 }
462
463 dto = new UserQueryDTO();
464 dto.setMobileNo(vo.getContactTel());
465 userList = userFeign.getUserSomeInfo(dto).getData().getRecords();
466 if(CollectionUtils.isNotEmpty(userList)){
460 throw new CsbrUserException(UserError.VALIDATE_CODE_ERROR, "账号管理人手机号已存在!"); 467 throw new CsbrUserException(UserError.VALIDATE_CODE_ERROR, "账号管理人手机号已存在!");
461 } 468 }
469
462 //检查会员名称等数据 470 //检查会员名称等数据
463 TenantRQVO tenant = csbrBeanUtil.convert(vo,TenantRQVO.class); 471 TenantRQVO tenant = csbrBeanUtil.convert(vo,TenantRQVO.class);
464 personelFeign.checkTenant(tenant); 472 personelFeign.checkTenant(tenant);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!