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
f1d136e6
Commit
f1d136e6
authored
Oct 09, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化-fxj
parent
c9352d0a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
TPersonnelRosterServiceImpl.java
...fu/archives/service/impl/TPersonnelRosterServiceImpl.java
+10
-8
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPersonnelRosterServiceImpl.java
View file @
f1d136e6
...
...
@@ -174,15 +174,17 @@ public class TPersonnelRosterServiceImpl extends ServiceImpl<TPersonnelRosterMap
voMap
.
put
(
vo
.
getEmpIdcard
(),
vo
);
}
}
if
(
Common
.
isNotNull
(
list
)
&&
Common
.
isNotNull
(
voMap
)
){
if
(
Common
.
isNotNull
(
list
)){
for
(
TPersonnelRoster
r:
list
){
rosterVo
=
voMap
.
get
(
r
.
getEmpIdcard
());
if
(
Common
.
isNotNull
(
rosterVo
)){
r
.
setBankNo
(
rosterVo
.
getBankNo
());
r
.
setBankCity
(
rosterVo
.
getBankCity
());
r
.
setBankName
(
rosterVo
.
getBankName
());
r
.
setBankNameSub
(
rosterVo
.
getBankSubName
());
r
.
setBankProvince
(
rosterVo
.
getBankProvince
());
if
(
Common
.
isNotNull
(
voMap
)){
rosterVo
=
voMap
.
get
(
r
.
getEmpIdcard
());
if
(
Common
.
isNotNull
(
rosterVo
)){
r
.
setBankNo
(
rosterVo
.
getBankNo
());
r
.
setBankCity
(
rosterVo
.
getBankCity
());
r
.
setBankName
(
rosterVo
.
getBankName
());
r
.
setBankNameSub
(
rosterVo
.
getBankSubName
());
r
.
setBankProvince
(
rosterVo
.
getBankProvince
());
}
}
r
.
setDataCreateMonth
(
DateUtil
.
getYearAndMonth
(
LocalDateTime
.
now
(),
0
));
}
...
...
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