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
eca3fb4d
Commit
eca3fb4d
authored
Mar 23, 2022
by
xugaojun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改查询员工接口
parent
8299cc95
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletions
+20
-1
StaffApiService.java
...va/com/gic/haoban/manage/api/service/StaffApiService.java
+14
-1
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+6
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/StaffApiService.java
View file @
eca3fb4d
...
@@ -39,6 +39,7 @@ public interface StaffApiService {
...
@@ -39,6 +39,7 @@ public interface StaffApiService {
/**
/**
* 新增成员
* 新增成员
*
* @param userId
* @param userId
* @param wxEnterpriseId
* @param wxEnterpriseId
*/
*/
...
@@ -46,6 +47,7 @@ public interface StaffApiService {
...
@@ -46,6 +47,7 @@ public interface StaffApiService {
/**
/**
* 成员修改
* 成员修改
*
* @param staffDTO
* @param staffDTO
* @param departmentIds
* @param departmentIds
*/
*/
...
@@ -64,6 +66,7 @@ public interface StaffApiService {
...
@@ -64,6 +66,7 @@ public interface StaffApiService {
/**
/**
* 没手机号的时候需要重新刷
* 没手机号的时候需要重新刷
*
* @param userId
* @param userId
* @param wxEnterpriseId
* @param wxEnterpriseId
* @return
* @return
...
@@ -164,7 +167,17 @@ public interface StaffApiService {
...
@@ -164,7 +167,17 @@ public interface StaffApiService {
* @author mozhu
* @author mozhu
* @date 2022-02-25 09:40:15
* @date 2022-02-25 09:40:15
*/
*/
Page
<
StaffDTO
>
listUserIdByWxEnterpriseId
(
String
wxEnterpriseId
,
Integer
pageNum
,
Integer
pageSize
);
Page
<
StaffDTO
>
listUserIdByWxEnterpriseId
(
String
wxEnterpriseId
,
Integer
pageNum
,
Integer
pageSize
);
/**
* desc: 查询当前品牌所有员工
*
* @param wxEnterpriseId
* @return : {@link List< StaffDTO>}
* @author : YongEn
* @date : 2022/3/23
*/
List
<
StaffDTO
>
listAllStaffByWxEnterpriseId
(
String
wxEnterpriseId
);
/**
/**
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
eca3fb4d
...
@@ -1188,6 +1188,12 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -1188,6 +1188,12 @@ public class StaffApiServiceImpl implements StaffApiService {
}
}
@Override
@Override
public
List
<
StaffDTO
>
listAllStaffByWxEnterpriseId
(
String
wxEnterpriseId
)
{
List
<
TabHaobanStaff
>
tabHaobanStaffs
=
staffMapper
.
listUserIdByWxEnterpriseId
(
wxEnterpriseId
);
return
EntityUtil
.
changeEntityListNew
(
StaffDTO
.
class
,
tabHaobanStaffs
);
}
@Override
public
List
<
StaffDTO
>
listByOpenUserIdsAndWxEnterpriseId
(
List
<
String
>
openUserIds
,
String
wxEnterpriseId
)
{
public
List
<
StaffDTO
>
listByOpenUserIdsAndWxEnterpriseId
(
List
<
String
>
openUserIds
,
String
wxEnterpriseId
)
{
List
<
StaffDTO
>
list
=
staffService
.
listByOpenUserIdsAndWxEnterpriseId
(
openUserIds
,
wxEnterpriseId
);
List
<
StaffDTO
>
list
=
staffService
.
listByOpenUserIdsAndWxEnterpriseId
(
openUserIds
,
wxEnterpriseId
);
if
(
CollectionUtils
.
isEmpty
(
list
))
{
if
(
CollectionUtils
.
isEmpty
(
list
))
{
...
...
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