【DAOP-1.0】企业认证
【功能点】测试问题处理
Showing
1 changed file
with
0 additions
and
11 deletions
| ... | @@ -452,17 +452,6 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris | ... | @@ -452,17 +452,6 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris |
| 452 | 452 | ||
| 453 | @Override | 453 | @Override |
| 454 | public Boolean check(EnterpriseRQVO vo) { | 454 | public Boolean check(EnterpriseRQVO vo) { |
| 455 | //检查管理员账号 | ||
| 456 | UserQueryDTO dto = new UserQueryDTO(); | ||
| 457 | dto.setLogonUser(vo.getLogonUser()); | ||
| 458 | List<UserVO> userList = userFeign.getUserSomeInfo(dto).getData().getRecords(); | ||
| 459 | if(CollectionUtils.isNotEmpty(userList)){ | ||
| 460 | StaffRSVO staffVO = personelFeign.getByUserGuid(userList.get(0).getGuid()).getData(); | ||
| 461 | if(staffVO != null && StringUtils.isNotBlank(staffVO.getIsAdmin()) && "Y".equals(staffVO.getIsAdmin())){ | ||
| 462 | throw new CsbrUserException(UserError.VALIDATE_CODE_ERROR, "账号已存在!"); | ||
| 463 | } | ||
| 464 | } | ||
| 465 | |||
| 466 | //检查会员名称等数据 | 455 | //检查会员名称等数据 |
| 467 | TenantRQVO tenant = csbrBeanUtil.convert(vo,TenantRQVO.class); | 456 | TenantRQVO tenant = csbrBeanUtil.convert(vo,TenantRQVO.class); |
| 468 | personelFeign.checkTenant(tenant); | 457 | personelFeign.checkTenant(tenant); | ... | ... |
-
Please register or sign in to post a comment