Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
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
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
1c35497f
Commit
1c35497f
authored
May 06, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
ebf93677
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
PersonBasicServiceImpl.java
...module/jxiop/biz/service/impl/PersonBasicServiceImpl.java
+1
-12
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 @
1c35497f
...
...
@@ -197,7 +197,6 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto,PersonBas
CompanyModel
companyModel
=
new
CompanyModel
();
//单位
companyModel
=
this
.
getCompanyModel
(
personAccount
.
getProjectId
());
//人员基础信息
PersonBasic
personBasic
=
new
PersonBasic
();
personBasic
.
setSequenceNbr
(
sequenceNbr
);
...
...
@@ -208,23 +207,17 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto,PersonBas
}
else
{
personBasic
.
setProjectOrgCode
(
companyModel
.
getOrgCode
());
}
if
(
!
personUser
.
getNativePlace
().
isEmpty
()
){
if
(
personUser
.
getNativePlace
()!=
null
){
personBasic
.
setNativePlace
(
JSON
.
toJSONString
(
personUser
.
getNativePlace
()));
}
this
.
personBasicMapper
.
updateById
(
personBasic
);
//人员归属信息
PersonSkillEducation
personSkillEducation
=
new
PersonSkillEducation
();
BeanUtils
.
copyProperties
(
personUser
,
personSkillEducation
);
personSkillEducation
.
setPersonId
(
personBasic
.
getSequenceNbr
());
PersonSkillEducation
personSkillEducationd
=
personSkillEducationService
.
getOne
(
new
QueryWrapper
<
PersonSkillEducation
>().
eq
(
"person_id"
,
personBasic
.
getSequenceNbr
()));
personSkillEducation
.
setSequenceNbr
(
personSkillEducationd
.
getSequenceNbr
());
personSkillEducationService
.
updateById
(
personSkillEducation
);
//人员资质信息
personCertificateService
.
updateById
(
personCertificate
);
//人员账号信息
...
...
@@ -243,11 +236,7 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto,PersonBas
wrapper1
.
eq
(
"is_delete"
,
0
);
//人员基础信息
PersonBasic
personBasic
=
this
.
getOne
(
wrapper1
);
BeanUtils
.
copyProperties
(
personBasic
,
personUser
);
//人员技能学历信息
QueryWrapper
<
PersonSkillEducation
>
wrapper2
=
new
QueryWrapper
();
wrapper2
.
eq
(
"person_id"
,
sequenceNbr
);
...
...
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