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
365e8a03
Commit
365e8a03
authored
Jun 06, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人员管理-新增更新初次调用接口时对于账号也进行DES加密操作
parent
ce550b94
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
PersonBasicServiceImpl.java
...module/jxiop/biz/service/impl/PersonBasicServiceImpl.java
+4
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/PersonBasicServiceImpl.java
View file @
365e8a03
...
@@ -101,7 +101,8 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto, PersonBa
...
@@ -101,7 +101,8 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto, PersonBa
personCertificateService
.
save
(
personCertificate
);
personCertificateService
.
save
(
personCertificate
);
//人员账号信息
//人员账号信息
personAccount
.
setPersonId
(
personBasic
.
getSequenceNbr
());
personAccount
.
setPersonId
(
personBasic
.
getSequenceNbr
());
personAccount
.
setPassword
(
DesUtil
.
encode
(
personAccount
.
getPassword
(),
secretKey
));
personAccount
.
setSecondaryPassword
(
DesUtil
.
encode
(
personAccount
.
getSecondaryPassword
(),
secretKey
));
personAccountService
.
save
(
personAccount
);
personAccountService
.
save
(
personAccount
);
//新增平台账号
//新增平台账号
//组装数据
//组装数据
...
@@ -179,6 +180,8 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto, PersonBa
...
@@ -179,6 +180,8 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto, PersonBa
//人员基础信息
//人员基础信息
PersonBasic
personBasic
=
new
PersonBasic
();
PersonBasic
personBasic
=
new
PersonBasic
();
personBasic
.
setSequenceNbr
(
sequenceNbr
);
personBasic
.
setSequenceNbr
(
sequenceNbr
);
personAccount
.
setPassword
(
DesUtil
.
encode
(
personAccount
.
getPassword
(),
secretKey
));
personAccount
.
setSecondaryPassword
(
DesUtil
.
encode
(
personAccount
.
getSecondaryPassword
(),
secretKey
));
this
.
personBasicMapper
.
updateById
(
personBasic
);
this
.
personBasicMapper
.
updateById
(
personBasic
);
//人员归属信息
//人员归属信息
PersonSkillEducation
personSkillEducation
=
new
PersonSkillEducation
();
PersonSkillEducation
personSkillEducation
=
new
PersonSkillEducation
();
...
...
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