【DAOP-1.0】企业认证
【功能点】测试问题处理
Showing
1 changed file
with
8 additions
and
0 deletions
| ... | @@ -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); | ... | ... | 
- 
Please register or sign in to post a comment
