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
45770d5d
Commit
45770d5d
authored
Apr 26, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
离职继承查询导购
parent
a8418bbd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
TabHaobanStaffClerkRelationMapper.java
...service/dao/mapper/TabHaobanStaffClerkRelationMapper.java
+3
-0
StaffClerkRelationApiServiceImpl.java
...ce/service/out/impl/StaffClerkRelationApiServiceImpl.java
+6
-0
TabHaobanStaffClerkRelationMapper.xml
...in/resources/mapper/TabHaobanStaffClerkRelationMapper.xml
+5
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/TabHaobanStaffClerkRelationMapper.java
View file @
45770d5d
...
...
@@ -144,4 +144,6 @@ public interface TabHaobanStaffClerkRelationMapper {
* @return
*/
List
<
String
>
taskoverClerkIdList
(
@Param
(
"staffId"
)
String
staffId
,
@Param
(
"delTime"
)
Date
delTime
)
;
List
<
TabHaobanStaffClerkRelation
>
taskoverClerkIdListAll
(
@Param
(
"staffId"
)
String
staffId
)
;
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffClerkRelationApiServiceImpl.java
View file @
45770d5d
...
...
@@ -626,6 +626,7 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
return
staffClerkRelationService
.
listManageBindByStaffId
(
staffId
);
}
// 只用于离职继承的查询
@Override
public
List
<
String
>
getTakeoverClerkIdList
(
List
<
String
>
staffIdList
)
{
List
<
String
>
takeoverClerkIdList
=
new
ArrayList
<>()
;
...
...
@@ -639,6 +640,11 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
if
(
CollectionUtils
.
isNotEmpty
(
clerkIdList
))
{
takeoverClerkIdList
.
addAll
(
clerkIdList
);
}
}
else
if
(
null
!=
staff
)
{
List
<
TabHaobanStaffClerkRelation
>
list
=
this
.
tabHaobanStaffClerkRelationMapper
.
taskoverClerkIdListAll
(
staffId
)
;
if
(
CollectionUtils
.
isNotEmpty
(
list
))
{
takeoverClerkIdList
.
add
(
list
.
get
(
0
).
getClerkId
())
;
}
}
}
}
...
...
haoban-manage3-service/src/main/resources/mapper/TabHaobanStaffClerkRelationMapper.xml
View file @
45770d5d
...
...
@@ -487,4 +487,8 @@
select clerk_id from tab_haoban_staff_clerk_relation where staff_id =#{staffId} and status_flag = 0 and update_time >= #{delTime}
</select>
<select
id=
"taskoverClerkIdListAll"
resultMap=
"BaseResultMap"
resultType=
"java.lang.String"
>
select
<include
refid=
"Base_Column_List"
/>
from tab_haoban_staff_clerk_relation where staff_id =#{staffId} order by update_time desc
</select>
</mapper>
\ No newline at end of file
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