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
d3b57d7a
Commit
d3b57d7a
authored
Jun 19, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
企微托管
parent
a47d5280
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
0 deletions
+21
-0
OpenStaffApiService.java
...om/gic/haoban/manage/api/service/OpenStaffApiService.java
+8
-0
OpenStaffMapper.java
...gic/haoban/manage/service/dao/mapper/OpenStaffMapper.java
+2
-0
OpenStaffApiServiceImpl.java
...age/service/service/out/impl/OpenStaffApiServiceImpl.java
+5
-0
OpenStaffMapper.xml
...ge3-service/src/main/resources/mapper/OpenStaffMapper.xml
+6
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/OpenStaffApiService.java
View file @
d3b57d7a
...
@@ -108,4 +108,12 @@ public interface OpenStaffApiService {
...
@@ -108,4 +108,12 @@ public interface OpenStaffApiService {
List
<
StaffClerkRelationDTO
>
listOpenStaffByStore
(
String
wxEnterpriseId
,
String
enterpriseIdList
,
List
<
String
>
storeIdList
)
;
List
<
StaffClerkRelationDTO
>
listOpenStaffByStore
(
String
wxEnterpriseId
,
String
enterpriseIdList
,
List
<
String
>
storeIdList
)
;
List
<
String
>
listAllOnlineStaff
()
;
List
<
String
>
listAllOnlineStaff
()
;
/**
* 查询所有托管的门店
* @param wxEnterpriseId
* @param enterpriseId
* @return
*/
List
<
String
>
listOpenStoreId
(
String
wxEnterpriseId
,
String
enterpriseId
)
;
}
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/dao/mapper/OpenStaffMapper.java
View file @
d3b57d7a
...
@@ -50,4 +50,5 @@ public interface OpenStaffMapper {
...
@@ -50,4 +50,5 @@ public interface OpenStaffMapper {
List
<
String
>
listAll
()
;
List
<
String
>
listAll
()
;
List
<
String
>
listOpenStoreId
(
@Param
(
"wxEnterpriseId"
)
String
wxEnterpriseId
,
@Param
(
"enterpriseId"
)
String
enterpriseId
);
}
}
\ No newline at end of file
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/OpenStaffApiServiceImpl.java
View file @
d3b57d7a
...
@@ -271,4 +271,9 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService {
...
@@ -271,4 +271,9 @@ public class OpenStaffApiServiceImpl implements OpenStaffApiService {
public
List
<
String
>
listAllOnlineStaff
()
{
public
List
<
String
>
listAllOnlineStaff
()
{
return
this
.
openStaffMapper
.
listAll
();
return
this
.
openStaffMapper
.
listAll
();
}
}
@Override
public
List
<
String
>
listOpenStoreId
(
String
wxEnterpriseId
,
String
enterpriseId
)
{
return
this
.
openStaffMapper
.
listOpenStoreId
(
wxEnterpriseId
,
enterpriseId
);
}
}
}
haoban-manage3-service/src/main/resources/mapper/OpenStaffMapper.xml
View file @
d3b57d7a
...
@@ -216,5 +216,10 @@
...
@@ -216,5 +216,10 @@
select staff_id from tab_haoban_open_staff where status_flag = 1
select staff_id from tab_haoban_open_staff where status_flag = 1
</select>
</select>
<select
id=
"listOpenStoreId"
resultType=
"java.lang.String"
>
select a.store_id from tab_haoban_staff_clerk_relation a left join tab_haoban_open_staff b on a.staff_id = b.staff_id
where a.wx_enterprise_id = #{wxEnterpriseId} and a.enterprise_id=#{enterpriseId} and a.status_flag = 1
and b.status_flag = 1
</select>
</mapper>
</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