Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
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
haoban3.0
haoban-manage3.0
Commits
bfbbd021
Commit
bfbbd021
authored
Jul 08, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
离职继承优化查询关联的离职导购
parent
66f1ba7f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
10 deletions
+14
-10
StaffClerkRelationApiServiceImpl.java
...ce/service/out/impl/StaffClerkRelationApiServiceImpl.java
+14
-10
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffClerkRelationApiServiceImpl.java
View file @
bfbbd021
...
@@ -632,18 +632,22 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
...
@@ -632,18 +632,22 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
List
<
String
>
takeoverClerkIdList
=
new
ArrayList
<>()
;
List
<
String
>
takeoverClerkIdList
=
new
ArrayList
<>()
;
if
(
CollectionUtils
.
isNotEmpty
(
staffIdList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
staffIdList
))
{
for
(
int
i
=
0
;
i
<
staffIdList
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
staffIdList
.
size
();
i
++)
{
List
<
String
>
clerkIdList
=
null
;
String
staffId
=
staffIdList
.
get
(
i
)
;
String
staffId
=
staffIdList
.
get
(
i
)
;
TabHaobanStaff
staff
=
this
.
staffMapper
.
selectByPrimaryKeyNoStatus
(
staffId
)
;
TabHaobanStaff
staff
=
this
.
staffMapper
.
selectByPrimaryKeyNoStatus
(
staffId
)
;
if
(
null
!=
staff
&&
null
!=
staff
.
getDelTime
())
{
if
(
null
!=
staff
)
{
Date
delTime
=
DateUtil
.
addNumForMinute
(
staff
.
getDelTime
(),-
5
);
if
(
null
!=
staff
.
getDelTime
())
{
List
<
String
>
clerkIdList
=
this
.
tabHaobanStaffClerkRelationMapper
.
taskoverClerkIdList
(
staffId
,
delTime
)
;
Date
delTime
=
DateUtil
.
addNumForMinute
(
staff
.
getDelTime
(),
-
5
);
if
(
CollectionUtils
.
isNotEmpty
(
clerkIdList
))
{
clerkIdList
=
this
.
tabHaobanStaffClerkRelationMapper
.
taskoverClerkIdList
(
staffId
,
delTime
);
takeoverClerkIdList
.
addAll
(
clerkIdList
);
if
(
CollectionUtils
.
isNotEmpty
(
clerkIdList
))
{
}
takeoverClerkIdList
.
addAll
(
clerkIdList
);
}
else
if
(
null
!=
staff
)
{
}
List
<
TabHaobanStaffClerkRelation
>
list
=
this
.
tabHaobanStaffClerkRelationMapper
.
taskoverClerkIdListAll
(
staffId
)
;
if
(
CollectionUtils
.
isEmpty
(
clerkIdList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
List
<
TabHaobanStaffClerkRelation
>
list
=
this
.
tabHaobanStaffClerkRelationMapper
.
taskoverClerkIdListAll
(
staffId
);
takeoverClerkIdList
.
add
(
list
.
get
(
0
).
getClerkId
())
;
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
takeoverClerkIdList
.
add
(
list
.
get
(
0
).
getClerkId
());
}
}
}
}
}
}
}
}
...
...
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