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
8f327f20
Commit
8f327f20
authored
Aug 26, 2024
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/xgh/240820' into 'developer'
Feature/xgh/240820 See merge request
!2122
parents
d5bc4343
7e7c1f0e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+2
-2
QywxOpenController.java
...haoban/manage/web/controller/open/QywxOpenController.java
+3
-0
WxStaffController.java
...m/gic/haoban/manage/web/controller/WxStaffController.java
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
8f327f20
...
@@ -1008,7 +1008,7 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -1008,7 +1008,7 @@ public class StaffApiServiceImpl implements StaffApiService {
pageParam
.
setCurrentPage
(
1
);
pageParam
.
setCurrentPage
(
1
);
pageParam
.
setPageSize
(
1
);
pageParam
.
setPageSize
(
1
);
if
(
clerkType
==
2
)
{
if
(
clerkType
==
2
)
{
String
storeWidgetId
=
this
.
powerService
.
getStoreWidgetId
(
n
ew
Date
()
,
clerkId
);
String
storeWidgetId
=
this
.
powerService
.
getStoreWidgetId
(
n
ull
,
clerkId
);
if
(
null
!=
storeWidgetId
)
{
if
(
null
!=
storeWidgetId
)
{
Page
<
StoreDTO
>
page
=
storeWidgetService
.
getStoreWidgetStore
(
storeWidgetId
,
null
,
clerkDTO
.
getEnterpriseId
(),
pageParam
,
null
,
null
);
Page
<
StoreDTO
>
page
=
storeWidgetService
.
getStoreWidgetStore
(
storeWidgetId
,
null
,
clerkDTO
.
getEnterpriseId
(),
pageParam
,
null
,
null
);
storeId
=
page
.
getResult
().
get
(
0
).
getStoreId
();
storeId
=
page
.
getResult
().
get
(
0
).
getStoreId
();
...
@@ -1046,7 +1046,7 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -1046,7 +1046,7 @@ public class StaffApiServiceImpl implements StaffApiService {
String
enterpriseId
=
clerkDTO
.
getEnterpriseId
();
String
enterpriseId
=
clerkDTO
.
getEnterpriseId
();
EnterpriseSettingDTO
enterpriseSetting
=
enterpriseService
.
getEnterpriseSettingByEnterpriseId
(
enterpriseId
);
EnterpriseSettingDTO
enterpriseSetting
=
enterpriseService
.
getEnterpriseSettingByEnterpriseId
(
enterpriseId
);
if
(
enterpriseSetting
.
getEnableAccessControl
()
!=
null
&&
enterpriseSetting
.
getEnableAccessControl
()
==
1
)
{
if
(
enterpriseSetting
.
getEnableAccessControl
()
!=
null
&&
enterpriseSetting
.
getEnableAccessControl
()
==
1
)
{
String
storeWidgetId
=
this
.
powerService
.
getStoreWidgetId
(
n
ew
Date
()
,
clerkId
);
String
storeWidgetId
=
this
.
powerService
.
getStoreWidgetId
(
n
ull
,
clerkId
);
if
(
StringUtils
.
isBlank
(
storeWidgetId
))
{
if
(
StringUtils
.
isBlank
(
storeWidgetId
))
{
logger
.
info
(
"导购无门店权限,门店组件id is null"
);
logger
.
info
(
"导购无门店权限,门店组件id is null"
);
return
Collections
.
emptyList
();
return
Collections
.
emptyList
();
...
...
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/open/QywxOpenController.java
View file @
8f327f20
...
@@ -191,6 +191,9 @@ public class QywxOpenController {
...
@@ -191,6 +191,9 @@ public class QywxOpenController {
return
RestResponse
.
failure
(
"9999"
,
"参数为空"
)
;
return
RestResponse
.
failure
(
"9999"
,
"参数为空"
)
;
}
}
OpenStaffDTO
openStaff
=
staffResp
.
getResult
()
;
OpenStaffDTO
openStaff
=
staffResp
.
getResult
()
;
if
(
openStaff
==
openStaff
)
{
return
RestResponse
.
failure
(
"9999"
,
"该账号在当前企业下不存在"
)
;
}
if
(
null
!=
openStaff
&&
openStaff
.
getStatusFlag
()==
1
)
{
if
(
null
!=
openStaff
&&
openStaff
.
getStatusFlag
()==
1
)
{
StaffDTO
staff
=
this
.
staffApiService
.
selectById
(
staffId
);
StaffDTO
staff
=
this
.
staffApiService
.
selectById
(
staffId
);
openStaff
.
setStaffHeadImg
(
staff
.
getHeadImg
());
openStaff
.
setStaffHeadImg
(
staff
.
getHeadImg
());
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/WxStaffController.java
View file @
8f327f20
...
@@ -1738,7 +1738,7 @@ public class WxStaffController extends WebBaseController {
...
@@ -1738,7 +1738,7 @@ public class WxStaffController extends WebBaseController {
int
totalCount
=
0
;
int
totalCount
=
0
;
List
<
StoreDTO
>
storeDTOList
=
new
ArrayList
<>();
List
<
StoreDTO
>
storeDTOList
=
new
ArrayList
<>();
if
(
storeIdList
.
get
(
0
).
contains
(
"-1"
))
{
if
(
storeIdList
.
get
(
0
).
contains
(
"-1"
))
{
String
storeWidgetId
=
this
.
powerService
.
getStoreWidgetId
(
n
ew
Date
()
,
clerkId
);
String
storeWidgetId
=
this
.
powerService
.
getStoreWidgetId
(
n
ull
,
clerkId
);
logger
.
info
(
"权限-所有门店storeWidgetId={}"
,
storeWidgetId
);
logger
.
info
(
"权限-所有门店storeWidgetId={}"
,
storeWidgetId
);
Page
<
Object
>
pageParam
=
new
Page
<
Object
>();
Page
<
Object
>
pageParam
=
new
Page
<
Object
>();
pageParam
.
setCurrentPage
(
currentPage
);
pageParam
.
setCurrentPage
(
currentPage
);
...
...
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