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
02f3da25
Commit
02f3da25
authored
Apr 23, 2020
by
fudahua
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' into 'master'
Developer See merge request
haoban3.0/haoban-manage3.0!54
parents
f04a1461
81ff2c47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
StaffApiServiceImpl.java
.../manage/service/service/out/impl/StaffApiServiceImpl.java
+3
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffApiServiceImpl.java
View file @
02f3da25
...
@@ -9,6 +9,7 @@ import java.util.HashSet;
...
@@ -9,6 +9,7 @@ import java.util.HashSet;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
java.util.Set
;
import
java.util.Set
;
import
java.util.concurrent.TimeUnit
;
import
java.util.stream.Collectors
;
import
java.util.stream.Collectors
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
...
@@ -1178,7 +1179,7 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -1178,7 +1179,7 @@ public class StaffApiServiceImpl implements StaffApiService {
}
}
@Override
@Override
@RedisCache
(
value
=
"qrcode-${clerkCode}-${storeId}"
,
timeOut
=
1
0
)
@RedisCache
(
value
=
"qrcode-${clerkCode}-${storeId}"
,
timeOut
=
1
,
timeunit
=
TimeUnit
.
DAYS
)
public
ServiceResponse
<
String
>
getStaffQrcode
(
String
clerkCode
,
String
storeId
)
{
public
ServiceResponse
<
String
>
getStaffQrcode
(
String
clerkCode
,
String
storeId
)
{
ServiceResponse
<
String
>
resp
=
new
ServiceResponse
<>();
ServiceResponse
<
String
>
resp
=
new
ServiceResponse
<>();
TabHaobanDepartment
department
=
departmentService
.
selectByRelatedId
(
storeId
);
TabHaobanDepartment
department
=
departmentService
.
selectByRelatedId
(
storeId
);
...
@@ -1194,7 +1195,7 @@ public class StaffApiServiceImpl implements StaffApiService {
...
@@ -1194,7 +1195,7 @@ public class StaffApiServiceImpl implements StaffApiService {
return
resp
;
return
resp
;
}
}
for
(
TabHaobanStaffDepartmentRelated
tab
:
retList
)
{
for
(
TabHaobanStaffDepartmentRelated
tab
:
retList
)
{
if
(
tab
.
getClerkCode
().
equals
(
clerkCode
))
{
if
(
clerkCode
.
equals
(
tab
.
getClerkCode
()
))
{
WxEnterpriseDTO
wxEnterpriseDTO
=
wxEnterpriseService
.
selectById
(
department
.
getWxEnterpriseId
());
WxEnterpriseDTO
wxEnterpriseDTO
=
wxEnterpriseService
.
selectById
(
department
.
getWxEnterpriseId
());
UserDTO
user
=
qywxUserApiService
.
getSelfWorkWxUser
(
wxEnterpriseDTO
.
getCorpid
(),
wxEnterpriseDTO
.
getContactSecret
(),
tab
.
getWxUserId
());
UserDTO
user
=
qywxUserApiService
.
getSelfWorkWxUser
(
wxEnterpriseDTO
.
getCorpid
(),
wxEnterpriseDTO
.
getContactSecret
(),
tab
.
getWxUserId
());
if
(
user
!=
null
)
{
if
(
user
!=
null
)
{
...
...
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