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
7b948e96
Commit
7b948e96
authored
Jun 02, 2020
by
huangZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
77fe6754
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
ClerkController.java
...com/gic/haoban/manage/web/controller/ClerkController.java
+4
-2
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/ClerkController.java
View file @
7b948e96
...
@@ -765,14 +765,16 @@ public class ClerkController extends WebBaseController{
...
@@ -765,14 +765,16 @@ public class ClerkController extends WebBaseController{
List
<
StaffClerkRelationDTO
>
bindRelationList
=
staffClerkRelationApiService
.
listBindCodeByStaffId
(
enterpriseIdList
,
staffId
);
List
<
StaffClerkRelationDTO
>
bindRelationList
=
staffClerkRelationApiService
.
listBindCodeByStaffId
(
enterpriseIdList
,
staffId
);
//主门店
//主门店
ClerkMainStoreRelatedDTO
mainDTO
=
clerkMainStoreRelatedApiService
.
getWxEnterpriseIdAndStaffId
(
wxEnterpriseId
,
staffId
);
ClerkMainStoreRelatedDTO
mainDTO
=
clerkMainStoreRelatedApiService
.
getWxEnterpriseIdAndStaffId
(
wxEnterpriseId
,
staffId
);
String
storeId
=
mainDTO
.
getStoreId
();
String
storeId
=
mainDTO
==
null
?
""
:
mainDTO
.
getStoreId
();
for
(
StaffClerkRelationDTO
staffClerkRelationDTO
:
bindRelationList
)
{
for
(
StaffClerkRelationDTO
staffClerkRelationDTO
:
bindRelationList
)
{
ClerkDTO
clerk
=
clerkService
.
getClerkByClerkCode
(
staffClerkRelationDTO
.
getEnterpriseId
(),
staffClerkRelationDTO
.
getClerkCode
());
ClerkDTO
clerk
=
clerkService
.
getClerkByClerkCode
(
staffClerkRelationDTO
.
getEnterpriseId
(),
staffClerkRelationDTO
.
getClerkCode
());
if
(
clerk
!=
null
){
if
(
clerk
!=
null
){
StoreDTO
store
=
storeService
.
getStore
(
clerk
.
getStoreId
());
StoreDTO
store
=
storeService
.
getStore
(
clerk
.
getStoreId
());
//主门店标志
//主门店标志
int
mainStoreFlag
=
0
;
int
mainStoreFlag
=
0
;
if
(
storeId
.
equals
(
store
.
getStoreId
())){
if
(
StringUtils
.
isEmpty
(
storeId
)){
mainStoreFlag
=
0
;
}
else
if
(
storeId
.
equals
(
store
.
getStoreId
())){
mainStoreFlag
=
1
;
mainStoreFlag
=
1
;
}
}
staffDepartmentRelatedApiService
.
listByStaffId
(
staffId
);
staffDepartmentRelatedApiService
.
listByStaffId
(
staffId
);
...
...
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