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
1
Merge Requests
1
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
df6d9f10
Commit
df6d9f10
authored
Oct 09, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:判断空
parent
1ffdd123
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+4
-0
HaobanRoleController.java
...ic/haoban/manage/web/controller/HaobanRoleController.java
+3
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
df6d9f10
...
...
@@ -567,6 +567,10 @@ public class StaffApiServiceImpl implements StaffApiService {
@Override
public
List
<
String
>
listUnBindClerk
(
String
storeId
)
{
if
(
StringUtils
.
isBlank
(
storeId
))
{
logger
.
error
(
"门店id为空"
);
return
Collections
.
emptyList
();
}
List
<
String
>
storeIds
=
new
ArrayList
<
String
>();
storeIds
.
add
(
storeId
);
List
<
String
>
clerkList
=
clerkService
.
getclerkListByStoreIds
(
storeIds
);
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/HaobanRoleController.java
View file @
df6d9f10
...
...
@@ -106,6 +106,7 @@ public class HaobanRoleController extends WebBaseController {
HaobanRoleDTO
haobanRoleDTO
=
haobanRoleDTOServiceResponse
.
getResult
();
if
(
haobanRoleDTO
!=
null
)
{
List
<
String
>
oldMenuCodes
=
haobanRoleDTO
.
getMenuCodes
();
//新勾选的
List
<
String
>
differenceCodesList
=
RolesListUtils
.
differenceList
(
oldMenuCodes
,
menuCodes
);
for
(
String
menuCode
:
differenceCodesList
)
{
...
...
@@ -114,6 +115,8 @@ public class HaobanRoleController extends WebBaseController {
String
log
=
RoleClerkTypeEnum
.
getNameByCode
(
clerkType
)
+
"/"
+
menuName
+
"/"
+
"勾选"
+
"\r\n"
;
stringBuffer
.
append
(
log
);
}
//删除勾选的
for
(
String
menuCode
:
delMenuCodes
)
{
ServiceResponse
<
String
>
serviceMenuNameByCode
=
haobanMenuApiService
.
getMenuNameByCode
(
menuCode
);
String
menuName
=
serviceMenuNameByCode
.
getResult
();
...
...
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