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
a1203d75
Commit
a1203d75
authored
Nov 17, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
超管
parent
2d9b5d26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
StaffController.java
...com/gic/haoban/manage/web/controller/StaffController.java
+1
-1
WxStaffController.java
...m/gic/haoban/manage/web/controller/WxStaffController.java
+16
-5
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/StaffController.java
View file @
a1203d75
...
...
@@ -379,7 +379,7 @@ public class StaffController extends WebBaseController {
}
}
}
if
(
null
!=
login
.
getSuperAdmin
()
&&
login
.
getSuperAdmin
()==
1
)
{
if
(
null
!=
login
.
getSuperAdmin
()
&&
login
.
getSuperAdmin
()==
1
&&
manageFlag
==
1
)
{
ClerkDTO
superClerk
=
this
.
clerkService
.
getSuperAdminByEnterpriseId
(
enterpriseId
)
;
if
(
superClerk
.
getPhoneNumber
().
contains
(
search
))
{
superClerk
.
setClerkName
(
"超级管理员"
);
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/WxStaffController.java
View file @
a1203d75
...
...
@@ -1708,11 +1708,22 @@ public class WxStaffController extends WebBaseController {
Page
<
Object
>
pageParam
=
new
Page
<
Object
>();
pageParam
.
setCurrentPage
(
currentPage
);
pageParam
.
setPageSize
(
pageSize
);
Page
<
StoreDTO
>
page
=
storeWidgetService
.
getStoreWidgetStore
(
storeWidgetId
,
null
,
enterpriseId
,
pageParam
,
null
,
null
);
if
(
page
!=
null
)
{
storeDTOList
=
page
.
getResult
();
totalCount
=
page
.
getTotalCount
();
ClerkDTO
clerkDTO
=
clerkService
.
getClerkByClerkIdNoStatus
(
clerkId
);
if
(
clerkDTO
.
getClerkType
()
==
2
)
{
Page
<
StoreDTO
>
page
=
storeWidgetService
.
getStoreWidgetStore
(
storeWidgetId
,
null
,
enterpriseId
,
pageParam
,
null
,
null
);
if
(
page
!=
null
)
{
storeDTOList
=
page
.
getResult
();
totalCount
=
page
.
getTotalCount
();
}
}
else
if
(
clerkDTO
.
getClerkType
()==
3
)
{
StoreSearchDTO
searchDTO
=
new
StoreSearchDTO
()
;
searchDTO
.
setEnterpriseId
(
clerkDTO
.
getEnterpriseId
());
Page
<
StoreDTO
>
page
=
this
.
storeService
.
storeListPage
(
pageParam
,
searchDTO
)
;
if
(
page
!=
null
)
{
storeDTOList
=
page
.
getResult
();
totalCount
=
page
.
getTotalCount
();
}
}
}
else
{
totalCount
=
storeIdList
.
size
();
...
...
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