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
27b8511a
Commit
27b8511a
authored
Sep 24, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
批量更新历史BUG修复-fxj
parent
4f783f90
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+3
-3
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
27b8511a
...
@@ -1804,12 +1804,12 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
...
@@ -1804,12 +1804,12 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
String
areaStr
;
String
areaStr
;
// 执行数据插入操作 组装
// 执行数据插入操作 组装
for
(
int
i
=
0
;
i
<
excelVOList
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
excelVOList
.
size
();
i
++)
{
excel
=
excelVOList
.
get
(
i
);
// 已有验证报错直接下一个
// 已有验证报错直接下一个
if
(
Common
.
isNotNull
(
errorMsgMap
.
get
((
i
+
2L
))))
{
if
(
Common
.
isNotNull
(
errorMsgMap
.
get
((
excel
.
getRowIndex
()
))))
{
continue
;
continue
;
}
}
errorMsg
=
new
HashSet
<>();
errorMsg
=
new
HashSet
<>();
excel
=
excelVOList
.
get
(
i
);
saveEmp
=
existEmpMap
.
get
(
excel
.
getEmpIdcard
());
saveEmp
=
existEmpMap
.
get
(
excel
.
getEmpIdcard
());
// 档案存在
// 档案存在
if
(
saveEmp
!=
null
)
{
if
(
saveEmp
!=
null
)
{
...
@@ -2075,7 +2075,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
...
@@ -2075,7 +2075,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
// 数据合法情况
// 数据合法情况
if
(!
CollUtil
.
isEmpty
(
errorMsg
))
{
if
(!
CollUtil
.
isEmpty
(
errorMsg
))
{
// 数据不合法
// 数据不合法
errorMessageList
.
add
(
new
ErrorMessage
(
(
i
+
2L
),
errorMsg
));
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
().
longValue
(
),
errorMsg
));
}
}
}
}
if
(
CollUtil
.
isNotEmpty
(
errorMessageList
))
{
if
(
CollUtil
.
isNotEmpty
(
errorMessageList
))
{
...
...
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