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
078fffe6
Commit
078fffe6
authored
Oct 14, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:查询门店数量修改
parent
7af89be9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+12
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
078fffe6
...
@@ -921,8 +921,19 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -921,8 +921,19 @@ public class StaffApiServiceImpl implements StaffApiService {
@Override
@Override
public
StoreRoleDTO
getCountHaoBanStoreIdsByClerkId
(
String
clerkId
,
String
wxEnterpriseId
)
{
public
StoreRoleDTO
getCountHaoBanStoreIdsByClerkId
(
String
clerkId
,
String
wxEnterpriseId
)
{
List
<
String
>
storeIds
=
getHaoBanStoreIdsRolesByClerkId
(
clerkId
,
wxEnterpriseId
);
StoreRoleDTO
storeRoleDTO
=
new
StoreRoleDTO
();
StoreRoleDTO
storeRoleDTO
=
new
StoreRoleDTO
();
ClerkDTO
clerkDTO
=
clerkService
.
getClerkByClerkIdNoStatus
(
clerkId
);
if
(
clerkDTO
==
null
)
{
storeRoleDTO
.
setStoreCount
(
0
);
return
storeRoleDTO
;
}
Integer
clerkType
=
clerkDTO
.
getClerkType
();
if
(
clerkType
!=
null
&&
clerkType
!=
2
)
{
storeRoleDTO
.
setStoreCount
(
1
);
storeRoleDTO
.
setStoreId
(
clerkDTO
.
getStoreId
());
return
storeRoleDTO
;
}
List
<
String
>
storeIds
=
getHaoBanStoreIdsRolesByClerkId
(
clerkId
,
wxEnterpriseId
);
if
(
CollectionUtils
.
isEmpty
(
storeIds
))
{
if
(
CollectionUtils
.
isEmpty
(
storeIds
))
{
storeRoleDTO
.
setStoreCount
(
0
);
storeRoleDTO
.
setStoreCount
(
0
);
return
storeRoleDTO
;
return
storeRoleDTO
;
...
...
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