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
92fa4355
Commit
92fa4355
authored
May 05, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
24ab2df4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
51 deletions
+62
-51
EXPersonUser.java
.../yeejoin/amos/boot/module/jxiop/api/dto/EXPersonUser.java
+50
-50
PersonUser.java
...om/yeejoin/amos/boot/module/jxiop/api/dto/PersonUser.java
+1
-1
PersonBasicServiceImpl.java
...module/jxiop/biz/service/impl/PersonBasicServiceImpl.java
+11
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/dto/EXPersonUser.java
View file @
92fa4355
...
@@ -56,153 +56,153 @@ public class EXPersonUser {
...
@@ -56,153 +56,153 @@ public class EXPersonUser {
@ApiModelProperty
(
value
=
"年龄"
)
@ApiModelProperty
(
value
=
"年龄"
)
private
Integer
age
;
private
Integer
age
;
@Excel
Property
(
value
=
"籍贯"
,
index
=
9
)
@Excel
Ignore
@ApiModelProperty
(
value
=
"籍贯"
)
@ApiModelProperty
(
value
=
"籍贯"
)
private
String
nativePlace
;
private
String
nativePlace
;
@ExcelProperty
(
value
=
"民族"
,
index
=
10
)
@ExcelProperty
(
value
=
"民族"
,
index
=
9
)
@ExplicitConstraint
(
indexNum
=
10
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"MZ"
)
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
9
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"MZ"
)
//固定下拉内容
@ApiModelProperty
(
value
=
"民族"
)
@ApiModelProperty
(
value
=
"民族"
)
private
String
folkKey
;
private
String
folkKey
;
@ExcelProperty
(
value
=
"政治面貌"
,
index
=
1
1
)
@ExcelProperty
(
value
=
"政治面貌"
,
index
=
1
0
)
@ExplicitConstraint
(
indexNum
=
1
1
,
source
=
{
"群众"
,
"共青团员"
,
"预备党员"
,
"中共党员"
})
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
1
0
,
source
=
{
"群众"
,
"共青团员"
,
"预备党员"
,
"中共党员"
})
//固定下拉内容
@ApiModelProperty
(
value
=
"政治面貌"
)
@ApiModelProperty
(
value
=
"政治面貌"
)
private
String
politicCountenance
;
private
String
politicCountenance
;
@ExcelProperty
(
value
=
"户籍地址"
,
index
=
1
2
)
@ExcelProperty
(
value
=
"户籍地址"
,
index
=
1
1
)
@ApiModelProperty
(
value
=
"户籍地址"
)
@ApiModelProperty
(
value
=
"户籍地址"
)
private
String
registeredResidenceAddress
;
private
String
registeredResidenceAddress
;
@ExcelProperty
(
value
=
"现住址"
,
index
=
1
3
)
@ExcelProperty
(
value
=
"现住址"
,
index
=
1
2
)
@ApiModelProperty
(
value
=
"现住址"
)
@ApiModelProperty
(
value
=
"现住址"
)
private
String
presentAddress
;
private
String
presentAddress
;
@ExcelProperty
(
value
=
"应急电话"
,
index
=
1
4
)
@ExcelProperty
(
value
=
"应急电话"
,
index
=
1
3
)
@ApiModelProperty
(
value
=
"应急电话"
)
@ApiModelProperty
(
value
=
"应急电话"
)
private
String
emergencyPhone
;
private
String
emergencyPhone
;
@ExcelProperty
(
value
=
"电话"
,
index
=
1
5
)
@ExcelProperty
(
value
=
"电话"
,
index
=
1
4
)
@ApiModelProperty
(
value
=
"电话"
)
@ApiModelProperty
(
value
=
"电话"
)
private
String
phone
;
private
String
phone
;
@ExcelProperty
(
value
=
"身高(厘米)"
,
index
=
1
6
)
@ExcelProperty
(
value
=
"身高(厘米)"
,
index
=
1
5
)
@ApiModelProperty
(
value
=
"身高(厘米)"
)
@ApiModelProperty
(
value
=
"身高(厘米)"
)
private
Integer
height
;
private
Integer
height
;
@ExcelProperty
(
value
=
"体重(千克)"
,
index
=
1
7
)
@ExcelProperty
(
value
=
"体重(千克)"
,
index
=
1
6
)
@ApiModelProperty
(
value
=
"体重(千克)"
)
@ApiModelProperty
(
value
=
"体重(千克)"
)
private
Integer
weight
;
private
Integer
weight
;
@ExcelProperty
(
value
=
"参加工作时间"
,
index
=
1
8
)
@ExcelProperty
(
value
=
"参加工作时间"
,
index
=
1
7
)
@ApiModelProperty
(
value
=
"参加工作时间"
)
@ApiModelProperty
(
value
=
"参加工作时间"
)
private
Date
workTime
;
private
Date
workTime
;
@ExcelProperty
(
value
=
"进入本单位工作时间"
,
index
=
1
9
)
@ExcelProperty
(
value
=
"进入本单位工作时间"
,
index
=
1
8
)
@ApiModelProperty
(
value
=
"进入本单位工作时间"
)
@ApiModelProperty
(
value
=
"进入本单位工作时间"
)
private
Date
stationWorkTime
;
private
Date
stationWorkTime
;
@ExcelProperty
(
value
=
"工作所在地"
,
index
=
20
)
@ExcelProperty
(
value
=
"工作所在地"
,
index
=
19
)
@ExplicitConstraint
(
indexNum
=
20
,
source
=
{
"国内"
,
"国外"
})
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
19
,
source
=
{
"国内"
,
"国外"
})
//固定下拉内容
@ApiModelProperty
(
value
=
"工作所在地key"
)
@ApiModelProperty
(
value
=
"工作所在地key"
)
private
String
workPlaceKey
;
private
String
workPlaceKey
;
@ExcelProperty
(
value
=
"岗位"
,
index
=
2
1
)
@ExcelProperty
(
value
=
"岗位"
,
index
=
2
0
)
@ExplicitConstraint
(
indexNum
=
2
1
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"YGZYJNJDZS"
)
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
2
0
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"YGZYJNJDZS"
)
//固定下拉内容
@ApiModelProperty
(
value
=
"岗位"
)
@ApiModelProperty
(
value
=
"岗位"
)
private
String
postName
;
private
String
postName
;
@ExcelProperty
(
value
=
"是否特殊工种"
,
index
=
2
2
)
@ExcelProperty
(
value
=
"是否特殊工种"
,
index
=
2
1
)
@ExplicitConstraint
(
indexNum
=
2
2
,
source
=
{
"是"
,
"否"
})
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
2
1
,
source
=
{
"是"
,
"否"
})
//固定下拉内容
@ApiModelProperty
(
value
=
"是否特殊工种"
)
@ApiModelProperty
(
value
=
"是否特殊工种"
)
private
Integer
isSpecialWork
;
private
Integer
isSpecialWork
;
@ExcelProperty
(
value
=
"技能鉴定工种"
,
index
=
2
3
)
@ExcelProperty
(
value
=
"技能鉴定工种"
,
index
=
2
2
)
@ExplicitConstraint
(
indexNum
=
2
3
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"JNDDGZ"
)
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
2
2
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"JNDDGZ"
)
//固定下拉内容
@ApiModelProperty
(
value
=
"技能鉴定工种key"
)
@ApiModelProperty
(
value
=
"技能鉴定工种key"
)
private
String
workTypeKey
;
private
String
workTypeKey
;
@ExcelProperty
(
value
=
"工种名称"
,
index
=
2
4
)
@ExcelProperty
(
value
=
"工种名称"
,
index
=
2
3
)
@ExplicitConstraint
(
indexNum
=
2
4
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"JNJDGZ"
)
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
2
3
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"JNJDGZ"
)
//固定下拉内容
@ApiModelProperty
(
value
=
"工种名称"
)
@ApiModelProperty
(
value
=
"工种名称"
)
private
String
workName
;
private
String
workName
;
@ExcelProperty
(
value
=
"专业技术资格名称"
,
index
=
2
5
)
@ExcelProperty
(
value
=
"专业技术资格名称"
,
index
=
2
4
)
@ExplicitConstraint
(
indexNum
=
2
5
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"ZYJSZGMC"
)
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
2
4
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"ZYJSZGMC"
)
//固定下拉内容
@ApiModelProperty
(
value
=
"专业技术资格名称"
)
@ApiModelProperty
(
value
=
"专业技术资格名称"
)
private
String
professionalTechnologyName
;
private
String
professionalTechnologyName
;
@ExcelProperty
(
value
=
"技能等级"
,
index
=
2
6
)
@ExcelProperty
(
value
=
"技能等级"
,
index
=
2
5
)
@ExplicitConstraint
(
indexNum
=
2
6
,
source
=
{
"无"
,
"初级工"
,
"中级工"
,
"高级工"
,
"技师"
,
"高级技师"
,
"其他"
})
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
2
5
,
source
=
{
"无"
,
"初级工"
,
"中级工"
,
"高级工"
,
"技师"
,
"高级技师"
,
"其他"
})
//固定下拉内容
@ApiModelProperty
(
value
=
"技能等级key"
)
@ApiModelProperty
(
value
=
"技能等级key"
)
private
String
skillLevelKey
;
private
String
skillLevelKey
;
@ExcelProperty
(
value
=
"专业技术资格等级"
,
index
=
2
7
)
@ExcelProperty
(
value
=
"专业技术资格等级"
,
index
=
2
6
)
@ExplicitConstraint
(
indexNum
=
2
7
,
source
=
{
"初级"
,
"中级"
,
"副高级"
,
"正高级"
,
"教授级"
})
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
2
6
,
source
=
{
"初级"
,
"中级"
,
"副高级"
,
"正高级"
,
"教授级"
})
//固定下拉内容
@ApiModelProperty
(
value
=
"专业技术资格等级"
)
@ApiModelProperty
(
value
=
"专业技术资格等级"
)
private
String
professionalTechnologyLevelKey
;
private
String
professionalTechnologyLevelKey
;
@ExcelProperty
(
value
=
"岗位执业鉴定证书"
,
index
=
2
8
)
@ExcelProperty
(
value
=
"岗位执业鉴定证书"
,
index
=
2
7
)
@ApiModelProperty
(
value
=
"岗位执业鉴定证书"
)
@ApiModelProperty
(
value
=
"岗位执业鉴定证书"
)
@ExplicitConstraint
(
indexNum
=
2
8
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"POST_PRACTICE_CERTIFICATE"
)
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
2
7
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"POST_PRACTICE_CERTIFICATE"
)
//固定下拉内容
private
String
professionalQualificationCertificate
;
private
String
professionalQualificationCertificate
;
@ExcelProperty
(
value
=
"岗位职业鉴定证书"
,
index
=
2
9
)
@ExcelProperty
(
value
=
"岗位职业鉴定证书"
,
index
=
2
8
)
@ApiModelProperty
(
value
=
" 岗位职业鉴定证书"
)
@ApiModelProperty
(
value
=
" 岗位职业鉴定证书"
)
@ExplicitConstraint
(
indexNum
=
2
9
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"POST_OCCUPATION_CERTIFICATE"
)
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
2
8
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"POST_OCCUPATION_CERTIFICATE"
)
//固定下拉内容
private
String
professionalCareerCertificate
;
private
String
professionalCareerCertificate
;
@ExcelProperty
(
value
=
"初始学历"
,
index
=
30
)
@ExcelProperty
(
value
=
"初始学历"
,
index
=
29
)
@ApiModelProperty
(
value
=
"初始学历key"
)
@ApiModelProperty
(
value
=
"初始学历key"
)
@ExplicitConstraint
(
indexNum
=
30
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"CSXL"
)
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
29
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"CSXL"
)
//固定下拉内容
private
String
initialEducationKey
;
private
String
initialEducationKey
;
@ExcelProperty
(
value
=
"现学历"
,
index
=
3
1
)
@ExcelProperty
(
value
=
"现学历"
,
index
=
3
0
)
@ExplicitConstraint
(
indexNum
=
3
1
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"XXL"
)
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
3
0
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"XXL"
)
//固定下拉内容
@ApiModelProperty
(
value
=
"现学历key"
)
@ApiModelProperty
(
value
=
"现学历key"
)
private
String
currentEducationKey
;
private
String
currentEducationKey
;
@ExcelProperty
(
value
=
"现学历学校名称"
,
index
=
3
2
)
@ExcelProperty
(
value
=
"现学历学校名称"
,
index
=
3
1
)
@ApiModelProperty
(
value
=
"现学历学校名称"
)
@ApiModelProperty
(
value
=
"现学历学校名称"
)
private
String
currentSchool
;
private
String
currentSchool
;
@ExcelProperty
(
value
=
"现学历所学专业"
,
index
=
3
3
)
@ExcelProperty
(
value
=
"现学历所学专业"
,
index
=
3
2
)
@ApiModelProperty
(
value
=
"现学历所学专业"
)
@ApiModelProperty
(
value
=
"现学历所学专业"
)
private
String
currentMajor
;
private
String
currentMajor
;
@ExcelProperty
(
value
=
"证件类型"
,
index
=
3
4
)
@ExcelProperty
(
value
=
"证件类型"
,
index
=
3
3
)
@ApiModelProperty
(
value
=
"证件类型"
)
@ApiModelProperty
(
value
=
"证件类型"
)
@ExplicitConstraint
(
indexNum
=
3
4
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"ZDLX"
)
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
3
3
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"ZDLX"
)
//固定下拉内容
private
String
documentType
;
private
String
documentType
;
@ExcelProperty
(
value
=
"证书名称"
,
index
=
3
5
)
@ExcelProperty
(
value
=
"证书名称"
,
index
=
3
4
)
@ApiModelProperty
(
value
=
"证书名称"
)
@ApiModelProperty
(
value
=
"证书名称"
)
@ExplicitConstraint
(
indexNum
=
3
5
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"ZYJSZGMC"
)
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
3
4
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"ZYJSZGMC"
)
//固定下拉内容
private
String
certificateName
;
private
String
certificateName
;
@ExcelProperty
(
value
=
"取证时间"
,
index
=
3
6
)
@ExcelProperty
(
value
=
"取证时间"
,
index
=
3
5
)
@ApiModelProperty
(
value
=
"取证时间"
)
@ApiModelProperty
(
value
=
"取证时间"
)
private
Date
certificateTime
;
private
Date
certificateTime
;
@ExcelProperty
(
value
=
"发证机关"
,
index
=
3
7
)
@ExcelProperty
(
value
=
"发证机关"
,
index
=
3
6
)
@ApiModelProperty
(
value
=
"发证机关"
)
@ApiModelProperty
(
value
=
"发证机关"
)
private
String
issuingAuthority
;
private
String
issuingAuthority
;
@ExcelProperty
(
value
=
"证书编号"
,
index
=
3
8
)
@ExcelProperty
(
value
=
"证书编号"
,
index
=
3
7
)
@ApiModelProperty
(
value
=
"证书编号"
)
@ApiModelProperty
(
value
=
"证书编号"
)
private
String
certificateNum
;
private
String
certificateNum
;
@ExcelProperty
(
value
=
"取证项目"
,
index
=
3
9
)
@ExcelProperty
(
value
=
"取证项目"
,
index
=
3
8
)
@ApiModelProperty
(
value
=
"取证项目"
)
@ApiModelProperty
(
value
=
"取证项目"
)
private
String
certificateProject
;
private
String
certificateProject
;
@ExcelProperty
(
value
=
"有效期限"
,
index
=
40
)
@ExcelProperty
(
value
=
"有效期限"
,
index
=
39
)
@ApiModelProperty
(
value
=
"有效期限"
)
@ApiModelProperty
(
value
=
"有效期限"
)
private
String
validPeriod
;
private
String
validPeriod
;
@ExcelProperty
(
value
=
"证书等级"
,
index
=
4
1
)
@ExcelProperty
(
value
=
"证书等级"
,
index
=
4
0
)
@ApiModelProperty
(
value
=
"证书等级"
)
@ApiModelProperty
(
value
=
"证书等级"
)
@ExplicitConstraint
(
indexNum
=
4
1
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"ZYJSZGMC"
)
//固定下拉内容
@ExplicitConstraint
(
indexNum
=
4
0
,
sourceClass
=
CommonExplicitConstraint
.
class
,
type
=
"ZYJSZGMC"
)
//固定下拉内容
private
String
certificateGrade
;
private
String
certificateGrade
;
}
}
amos-boot-system-jxiop/amos-boot-module-jxiop-api/src/main/java/com/yeejoin/amos/boot/module/jxiop/api/dto/PersonUser.java
View file @
92fa4355
...
@@ -32,7 +32,7 @@ public class PersonUser {
...
@@ -32,7 +32,7 @@ public class PersonUser {
private
Integer
age
;
private
Integer
age
;
@ApiModelProperty
(
value
=
"籍贯"
)
@ApiModelProperty
(
value
=
"籍贯"
)
private
String
nativePlace
;
private
List
<
Integer
>
nativePlace
;
@ApiModelProperty
(
value
=
"民族"
)
@ApiModelProperty
(
value
=
"民族"
)
private
String
folkKey
;
private
String
folkKey
;
...
...
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 @
92fa4355
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
service
.
impl
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
service
.
impl
;
import
com.alibaba.fastjson.JSON
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.yeejoin.amos.boot.module.jxiop.api.dto.*
;
import
com.yeejoin.amos.boot.module.jxiop.api.dto.*
;
import
com.yeejoin.amos.boot.module.jxiop.api.entity.PersonBasic
;
import
com.yeejoin.amos.boot.module.jxiop.api.entity.PersonBasic
;
...
@@ -124,6 +125,12 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto,PersonBas
...
@@ -124,6 +125,12 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto,PersonBas
}
else
{
}
else
{
personBasic
.
setProjectOrgCode
(
companyModel
.
getOrgCode
());
personBasic
.
setProjectOrgCode
(
companyModel
.
getOrgCode
());
}
}
if
(!
personUser
.
getNativePlace
().
isEmpty
()){
personBasic
.
setNativePlace
(
JSON
.
toJSONString
(
personUser
.
getNativePlace
()));
}
this
.
baseMapper
.
insert
(
personBasic
);
this
.
baseMapper
.
insert
(
personBasic
);
//人员技能学历信息
//人员技能学历信息
PersonSkillEducation
personSkillEducation
=
new
PersonSkillEducation
();
PersonSkillEducation
personSkillEducation
=
new
PersonSkillEducation
();
...
@@ -132,6 +139,7 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto,PersonBas
...
@@ -132,6 +139,7 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto,PersonBas
personSkillEducationService
.
save
(
personSkillEducation
);
personSkillEducationService
.
save
(
personSkillEducation
);
//人员资质信息
//人员资质信息
personCertificate
.
setPersonId
(
personBasic
.
getSequenceNbr
());
personCertificate
.
setPersonId
(
personBasic
.
getSequenceNbr
());
personCertificateService
.
save
(
personCertificate
);
personCertificateService
.
save
(
personCertificate
);
//人员账号信息
//人员账号信息
personAccount
.
setPersonId
(
personBasic
.
getSequenceNbr
());
personAccount
.
setPersonId
(
personBasic
.
getSequenceNbr
());
...
@@ -200,6 +208,9 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto,PersonBas
...
@@ -200,6 +208,9 @@ public class PersonBasicServiceImpl extends BaseService<PersonBasicDto,PersonBas
}
else
{
}
else
{
personBasic
.
setProjectOrgCode
(
companyModel
.
getOrgCode
());
personBasic
.
setProjectOrgCode
(
companyModel
.
getOrgCode
());
}
}
if
(!
personUser
.
getNativePlace
().
isEmpty
()){
personBasic
.
setNativePlace
(
JSON
.
toJSONString
(
personUser
.
getNativePlace
()));
}
this
.
personBasicMapper
.
updateById
(
personBasic
);
this
.
personBasicMapper
.
updateById
(
personBasic
);
...
...
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