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
QianQiXiang
haoban-manage3.0
Commits
c5a8df19
Commit
c5a8df19
authored
Jun 03, 2020
by
fudahua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同步刷新好办成员信息
parent
c3da527a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
0 deletions
+31
-0
StaffClerkRelationApiService.java
...oban/manage/api/service/StaffClerkRelationApiService.java
+10
-0
StaffClerkRelationApiServiceImpl.java
...ce/service/out/impl/StaffClerkRelationApiServiceImpl.java
+6
-0
StaffController.java
...com/gic/haoban/manage/web/controller/StaffController.java
+15
-0
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/service/StaffClerkRelationApiService.java
View file @
c5a8df19
...
...
@@ -37,6 +37,8 @@ public interface StaffClerkRelationApiService {
* @return
*/
String
delByStoreIdAndCode
(
String
storeId
,
String
clerkCode
);
List
<
StaffClerkRelationDTO
>
listByClerkIds
(
List
<
String
>
clerkIds
);
...
...
@@ -48,4 +50,12 @@ public interface StaffClerkRelationApiService {
*/
List
<
StaffClerkRelationDTO
>
listByStoreId
(
String
storeId
);
/**
* 解绑
* @param staffId
* @param clerkId
* @return
*/
boolean
unbindByStaffAndClerkId
(
String
staffId
,
String
clerkId
);
}
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffClerkRelationApiServiceImpl.java
View file @
c5a8df19
...
...
@@ -145,4 +145,10 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
List
<
StaffClerkRelationDTO
>
result
=
EntityUtil
.
changeEntityListByJSON
(
StaffClerkRelationDTO
.
class
,
list
);
return
result
;
}
@Override
public
boolean
unbindByStaffAndClerkId
(
String
staffId
,
String
clerkId
)
{
boolean
b
=
staffClerkRelatinService
.
delBind
(
clerkId
);
return
b
;
}
}
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/StaffController.java
View file @
c5a8df19
...
...
@@ -285,6 +285,21 @@ public class StaffController extends WebBaseController{
}
/**
* 成员关联关系接口
* @param staffId
* @return
*/
@RequestMapping
(
"del-clerk-relation"
)
public
HaobanResponse
delStaffClerkList
(
String
staffId
,
String
clerkId
){
StaffDTO
staff
=
staffApiService
.
selectById
(
staffId
);
if
(
staff
==
null
)
{
return
resultResponse
(
HaoBanErrCode
.
ERR_10007
);
}
boolean
b
=
staffClerkRelationApiService
.
unbindByStaffAndClerkId
(
staffId
,
clerkId
);
return
resultResponse
(
HaoBanErrCode
.
ERR_1
,
b
);
}
/**
* 成员关联关系搜索接口
* @param search
* @return
...
...
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