Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
963194ee
Commit
963194ee
authored
Nov 09, 2023
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
注释注册管理员为两员配备人员添加默认数据逻辑-此版本暂不提测
parent
6ade59f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
RegUnitInfoServiceImpl.java
...dule/tcm/flc/biz/service/impl/RegUnitInfoServiceImpl.java
+14
-14
No files found.
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/flc/biz/service/impl/RegUnitInfoServiceImpl.java
View file @
963194ee
...
...
@@ -835,20 +835,20 @@ public class RegUnitInfoServiceImpl extends BaseService<RegUnitInfoDto, RegUnitI
if
(
userResult
==
null
||
userResult
.
getResult
()
==
null
)
{
throw
new
BadRequest
(
"单位注册失败"
);
}
//同步创建为当前注册管理员添加两员配备人员信息
if
(
userResult
.
getStatus
()
==
200
)
{
TzsUserInfo
tzsUserInfo
=
new
TzsUserInfo
();
tzsUserInfo
.
setName
(
regUnitInfo
.
getAdminName
());
tzsUserInfo
.
setCertificateType
(
"344"
);
tzsUserInfo
.
setLockStatus
(
"UNLOCK"
);
tzsUserInfo
.
setCertificateNum
(
regUnitInfo
.
getAdminIdNumber
());
tzsUserInfo
.
setUnitName
(
regUnitInfo
.
getName
());
tzsUserInfo
.
setUnitCode
(
regUnitInfo
.
getUnitCode
());
tzsUserInfo
.
setPhone
(
regUnitInfo
.
getAdminTel
());
tzsUserInfo
.
setAmosUserId
(
userResult
.
getResult
().
getUserId
());
tzsUserInfo
.
setAmosUserName
(
regUnitInfo
.
getAdminLoginName
());
tzsUserInfoService
.
save
(
tzsUserInfo
);
}
//
//同步创建为当前注册管理员添加两员配备人员信息
//
if (userResult.getStatus() == 200) {
//
TzsUserInfo tzsUserInfo = new TzsUserInfo();
//
tzsUserInfo.setName(regUnitInfo.getAdminName());
//
tzsUserInfo.setCertificateType("344");
//
tzsUserInfo.setLockStatus("UNLOCK");
//
tzsUserInfo.setCertificateNum(regUnitInfo.getAdminIdNumber());
//
tzsUserInfo.setUnitName(regUnitInfo.getName());
//
tzsUserInfo.setUnitCode(regUnitInfo.getUnitCode());
//
tzsUserInfo.setPhone(regUnitInfo.getAdminTel());
//
tzsUserInfo.setAmosUserId(userResult.getResult().getUserId());
//
tzsUserInfo.setAmosUserName(regUnitInfo.getAdminLoginName());
//
tzsUserInfoService.save(tzsUserInfo);
//
}
regUnitInfo
.
setAdminUserId
(
userResult
.
getResult
().
getUserId
());
regUnitInfo
.
setAmosCompanySeq
(
companyInfo
.
getSequenceNbr
().
toString
());
// 3.3 org_user 创建组织机构
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment