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
f45efdba
Commit
f45efdba
authored
Sep 11, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人员附件其他附件编辑功能 fxj 2024-09-11
parent
9b0f192f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+4
-4
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
f45efdba
...
@@ -251,7 +251,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
...
@@ -251,7 +251,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
// 更新附件信息 fxj 2024-09-09
// 更新附件信息 fxj 2024-09-09
updateOtherAtta
(
employeeInfo
);
updateOtherAtta
(
employeeInfo
);
// 获取最新附件信息 fxj 2024-09-09
// 获取最新附件信息 fxj 2024-09-09
getAttaInfo
(
old
);
getAttaInfo
(
employeeInfo
);
// 记录变更日志
// 记录变更日志
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
old
.
getId
(),
""
,
old
,
employeeInfo
);
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
old
.
getId
(),
""
,
old
,
employeeInfo
);
...
@@ -305,14 +305,14 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
...
@@ -305,14 +305,14 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
}
}
}
}
private
void
getAttaInfo
(
TEmployeeInfo
old
)
{
private
void
getAttaInfo
(
TEmployeeInfo
emp
)
{
List
<
TEmpOtherFile
>
otherFiles
=
otherFileService
.
getListByEmpId
(
old
.
getId
());
List
<
TEmpOtherFile
>
otherFiles
=
otherFileService
.
getListByEmpId
(
emp
.
getId
());
if
(
Common
.
isEmpty
(
otherFiles
)){
if
(
Common
.
isEmpty
(
otherFiles
)){
for
(
TEmpOtherFile
file:
otherFiles
){
for
(
TEmpOtherFile
file:
otherFiles
){
file
.
setAttaList
(
attaInfoService
.
list
(
Wrappers
.<
TAttaInfo
>
query
().
lambda
().
eq
(
TAttaInfo:
:
getDomainId
,
file
.
getId
())));
file
.
setAttaList
(
attaInfoService
.
list
(
Wrappers
.<
TAttaInfo
>
query
().
lambda
().
eq
(
TAttaInfo:
:
getDomainId
,
file
.
getId
())));
}
}
}
}
old
.
setOtherFiles
(
otherFiles
);
emp
.
setOtherFiles
(
otherFiles
);
}
}
@Override
@Override
...
...
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