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
1
Merge Requests
1
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
21428855
Commit
21428855
authored
Jul 14, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:活码
parent
ec896b32
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
HmQrcodeApiServiceImpl.java
...e/service/service/out/impl/hm/HmQrcodeApiServiceImpl.java
+14
-9
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/hm/HmQrcodeApiServiceImpl.java
View file @
21428855
...
...
@@ -334,12 +334,6 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
*/
private
List
<
String
>
setStoreClerk
(
HmQrcodeQDTO
hmQrcodeQDTO
,
String
wxEnterpriseId
,
Long
hmId
,
Integer
hmType
)
{
List
<
String
>
clerkIdList
=
hmQrcodeQDTO
.
getClerkIdList
();
String
storeId
=
hmQrcodeQDTO
.
getStoreId
();
StoreDTO
storeDTO
=
storeService
.
getStore
(
storeId
);
if
(
storeDTO
!=
null
)
{
storeDTO
.
setStoreCode
(
storeDTO
.
getStoreCode
());
storeDTO
.
setStoreName
(
storeDTO
.
getStoreName
());
}
if
(
hmType
==
2
)
{
//多人活码
...
...
@@ -357,6 +351,13 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
if
(
clerkDTO
!=
null
)
{
hmQrcodeQDTO
.
setClerkName
(
clerkDTO
.
getClerkName
());
hmQrcodeQDTO
.
setClerkCode
(
clerkDTO
.
getClerkCode
());
String
storeId
=
clerkDTO
.
getStoreId
();
hmQrcodeQDTO
.
setStoreId
(
storeId
);
StoreDTO
storeDTO
=
storeService
.
getStore
(
storeId
);
if
(
storeDTO
!=
null
)
{
hmQrcodeQDTO
.
setStoreCode
(
storeDTO
.
getStoreCode
());
hmQrcodeQDTO
.
setStoreName
(
storeDTO
.
getStoreName
());
}
}
StaffClerkRelationDTO
staffClerkRelationDTO
=
staffClerkRelationService
.
getByClerkId
(
clerkId
);
if
(
staffClerkRelationDTO
!=
null
)
{
...
...
@@ -389,12 +390,16 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
hmClerkRelationQDTO
.
setWxUserId
(
clerkRelationDTO
.
getWxUserId
());
hmClerkRelationQDTO
.
setWxEnterpriseId
(
wxEnterpriseId
);
hmClerkRelationQDTO
.
setEnterpriseId
(
hmQrcodeQDTO
.
getEnterpriseId
());
hmClerkRelationQDTO
.
setStoreId
(
hmQrcodeQDTO
.
getStoreId
());
hmClerkRelationQDTO
.
setStoreName
(
hmQrcodeQDTO
.
getStoreName
());
hmClerkRelationQDTO
.
setStoreCode
(
hmQrcodeQDTO
.
getStoreCode
());
hmClerkRelationQDTO
.
setClerkId
(
clerkId
);
ClerkDTO
clerkDTO
=
clerkService
.
getclerkById
(
clerkId
);
if
(
clerkDTO
!=
null
)
{
String
storeId
=
clerkDTO
.
getStoreId
();
hmClerkRelationQDTO
.
setStoreId
(
storeId
);
StoreDTO
storeDTO
=
storeService
.
getStore
(
storeId
);
if
(
storeDTO
!=
null
)
{
hmClerkRelationQDTO
.
setStoreCode
(
storeDTO
.
getStoreCode
());
hmClerkRelationQDTO
.
setStoreName
(
storeDTO
.
getStoreName
());
}
hmClerkRelationQDTO
.
setClerkName
(
clerkDTO
.
getClerkName
());
hmClerkRelationQDTO
.
setClerkCode
(
clerkDTO
.
getClerkCode
());
}
...
...
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