Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
ms-data-circulation-portal-service
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
d62df2f4
authored
2025-02-12 16:37:52 +0800
by
肖初晴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
【DAOP-1.0】企业认证
【功能点】测试问题处理
1 parent
6fa915fe
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
src/main/java/com/csbr/qingcloud/portal/service/impl/EnterpriseServiceImpl.java
View file @
d62df2f
...
...
@@ -452,17 +452,6 @@ public class EnterpriseServiceImpl extends FlowAbstractImpl implements Enterpris
@Override
public
Boolean
check
(
EnterpriseRQVO
vo
)
{
//检查管理员账号
UserQueryDTO
dto
=
new
UserQueryDTO
();
dto
.
setLogonUser
(
vo
.
getLogonUser
());
List
<
UserVO
>
userList
=
userFeign
.
getUserSomeInfo
(
dto
).
getData
().
getRecords
();
if
(
CollectionUtils
.
isNotEmpty
(
userList
)){
StaffRSVO
staffVO
=
personelFeign
.
getByUserGuid
(
userList
.
get
(
0
).
getGuid
()).
getData
();
if
(
staffVO
!=
null
&&
StringUtils
.
isNotBlank
(
staffVO
.
getIsAdmin
())
&&
"Y"
.
equals
(
staffVO
.
getIsAdmin
())){
throw
new
CsbrUserException
(
UserError
.
VALIDATE_CODE_ERROR
,
"账号已存在!"
);
}
}
//检查会员名称等数据
TenantRQVO
tenant
=
csbrBeanUtil
.
convert
(
vo
,
TenantRQVO
.
class
);
personelFeign
.
checkTenant
(
tenant
);
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment