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
cdd6aedd
Commit
cdd6aedd
authored
Sep 26, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导购任务-查询绑定导购
parent
5067819f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
0 deletions
+27
-0
StaffApiService.java
...va/com/gic/haoban/manage/api/service/StaffApiService.java
+3
-0
StaffMapper.java
...com/gic/haoban/manage/service/dao/mapper/StaffMapper.java
+3
-0
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+8
-0
StaffMapper.xml
...manage3-service/src/main/resources/mapper/StaffMapper.xml
+13
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/StaffApiService.java
View file @
cdd6aedd
...
...
@@ -364,4 +364,7 @@ public interface StaffApiService {
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
<
StaffActiveAllocationDTO
>
staffActiveAllocation
(
String
wxEnterpriseId
,
String
staffIds
);
void
updateStaffHead
(
String
wxEnterpriseId
,
String
staffId
,
String
headUrl
);
List
<
StaffDTO
>
listByParams
(
String
enterpriseId
,
String
params
,
String
wxEnterpriseId
)
;
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/StaffMapper.java
View file @
cdd6aedd
...
...
@@ -194,4 +194,6 @@ public interface StaffMapper {
void
updateOccupyFlagByStaffId
(
@Param
(
"staffId"
)
String
staffId
);
void
updateStaffHead
(
@Param
(
"staffId"
)
String
staffId
,
@Param
(
"headUrl"
)
String
headUrl
);
List
<
StaffDTO
>
listByParams
(
List
<
String
>
wxEnterpriseIdList
,
String
params
);
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
cdd6aedd
...
...
@@ -1448,4 +1448,12 @@ public class StaffApiServiceImpl implements StaffApiService {
public
void
updateStaffHead
(
String
wxEnterpriseId
,
String
staffId
,
String
headUrl
)
{
this
.
staffService
.
updateStaffHead
(
wxEnterpriseId
,
staffId
,
headUrl
)
;
}
@Override
public
List
<
StaffDTO
>
listByParams
(
String
enterpriseId
,
String
params
,
String
wxEnterpriseId
)
{
List
<
TabHaobanWxEnterprise
>
list
=
this
.
wxEnterpriseRelatedService
.
listByEnterpriseId
(
enterpriseId
)
;
List
<
String
>
wxEnterpriseIdList
=
list
.
stream
().
map
(
o
->
o
.
getWxEnterpriseId
()).
collect
(
Collectors
.
toList
());
params
=
"%"
+
params
+
"%"
;
return
this
.
staffMapper
.
listByParams
(
wxEnterpriseIdList
,
params
)
;
}
}
haoban-manage3-service/src/main/resources/mapper/StaffMapper.xml
View file @
cdd6aedd
...
...
@@ -679,4 +679,16 @@
where staff_id= #{staffId}
</update>
<select
id=
"listByParams"
resultType=
"com.gic.haoban.manage.api.dto.StaffDTO"
>
select
<include
refid=
"Base_Column_List"
/>
FROM tab_haoban_staff
WHERE
wx_enterprise_id in (
<foreach
collection=
"list"
item=
"item"
separator=
","
>
#{item}
</foreach>
)
and (staff_name like #{params}) and status_flag = 1 limit 100
</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