Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
1605e233
Commit
1605e233
authored
Oct 16, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.0 更新附件
parent
8a3a269c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
TEmployeeInfo.java
...ifu/cloud/plus/v1/yifu/archives/entity/TEmployeeInfo.java
+7
-3
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+5
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TEmployeeInfo.java
View file @
1605e233
...
...
@@ -568,22 +568,26 @@ public class TEmployeeInfo extends BaseEntity {
@TableField
(
exist
=
false
)
private
List
<
TEmpOtherFile
>
otherFiles
;
// 员工声明
@TableField
(
exist
=
false
)
private
TPreEmpDeclaration
tPreEmpDeclaration
;
// 档案编辑的其他附件之外的附件,例如:身份证正反面,户口本2页、员工声明、员工确认
@TableField
(
exist
=
false
)
private
List
<
TAttaInfo
>
attaList
;
// 档案编辑的其他附件之外的附件,例如:身份证正反面,户口本2页、员工声明、员工确认
// 身份证
// 身份证
9\24
@TableField
(
exist
=
false
)
private
TAttaInfo
attaIdCardOne
;
@TableField
(
exist
=
false
)
private
TAttaInfo
attaIdCardTwo
;
// 户口本
// 户口本
10\25
@TableField
(
exist
=
false
)
private
TAttaInfo
attaRegistrationOne
;
@TableField
(
exist
=
false
)
private
TAttaInfo
attaRegistrationTwo
;
// 员工声明
// 员工声明
21\25
@TableField
(
exist
=
false
)
private
TAttaInfo
attaDeclearOne
;
@TableField
(
exist
=
false
)
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
1605e233
...
...
@@ -38,6 +38,7 @@ import com.yifu.cloud.plus.v1.yifu.archives.constants.EmployeeConstants;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TEmployeeContractAuditMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TEmployeeInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpDeclarationMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.*
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CacheConstants
;
...
...
@@ -109,6 +110,8 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
private
final
TEmpOtherFileService
empOtherFileService
;
private
final
TPreEmpDeclarationMapper
declarationMapper
;
@Autowired
private
OSSUtil
ossUtil
;
...
...
@@ -2906,6 +2909,8 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
if
(
Common
.
isEmpty
(
employeeInfo
)){
return
R
.
failed
(
CommonConstants
.
NO_DATA_TO_HANDLE
);
}
TPreEmpDeclaration
tPreEmpDeclaration
=
declarationMapper
.
getTPreEmpDeclarationList
();
employeeInfo
.
setTPreEmpDeclaration
(
tPreEmpDeclaration
);
getAttaInfo
(
employeeInfo
);
getEmpAttaInfo
(
employeeInfo
);
return
R
.
ok
(
employeeInfo
);
...
...
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