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
8c285251
Commit
8c285251
authored
Jul 12, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
if (!deptNoList.isEmpty()) {
parent
ab8dbb4b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
14 deletions
+15
-14
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+15
-14
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
8c285251
...
@@ -954,21 +954,22 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
...
@@ -954,21 +954,22 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
}
}
}
}
List
<
TSettleDomain
>
deptList
=
tSettleDomainService
.
list
(
Wrappers
.<
TSettleDomain
>
query
().
lambda
()
.
eq
(
TSettleDomain:
:
getDeleteFlag
,
CommonConstants
.
STATUS_NORMAL
)
.
eq
(
TSettleDomain:
:
getStopFlag
,
CommonConstants
.
STATUS_NORMAL
)
.
in
(
TSettleDomain:
:
getDepartNo
,
deptNoList
)
);
Map
<
String
,
Integer
>
deptMap
=
new
HashMap
<>();
Map
<
String
,
Integer
>
deptMap
=
new
HashMap
<>();
if
(
deptList
==
null
||
deptList
.
isEmpty
())
{
if
(!
deptNoList
.
isEmpty
())
{
errorMsg
=
new
HashSet
<>();
List
<
TSettleDomain
>
deptList
=
tSettleDomainService
.
list
(
Wrappers
.<
TSettleDomain
>
query
().
lambda
()
errorMsg
.
add
(
EmployeeConstants
.
DEPT_NO_EXIST
);
.
eq
(
TSettleDomain:
:
getDeleteFlag
,
CommonConstants
.
STATUS_NORMAL
)
errorMessageList
.
add
(
new
ErrorMessage
(-
1L
,
errorMsg
));
.
eq
(
TSettleDomain:
:
getStopFlag
,
CommonConstants
.
STATUS_NORMAL
)
return
R
.
failed
(
errorMessageList
);
.
in
(
TSettleDomain:
:
getDepartNo
,
deptNoList
)
}
else
{
);
for
(
TSettleDomain
dept
:
deptList
)
{
if
(
deptList
==
null
||
deptList
.
isEmpty
())
{
deptMap
.
put
(
dept
.
getDepartNo
(),
CommonConstants
.
ONE_INT
);
errorMsg
=
new
HashSet
<>();
errorMsg
.
add
(
EmployeeConstants
.
DEPT_NO_EXIST
);
errorMessageList
.
add
(
new
ErrorMessage
(-
1L
,
errorMsg
));
return
R
.
failed
(
errorMessageList
);
}
else
{
for
(
TSettleDomain
dept
:
deptList
)
{
deptMap
.
put
(
dept
.
getDepartNo
(),
CommonConstants
.
ONE_INT
);
}
}
}
}
}
...
...
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