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
f3f69e52
Commit
f3f69e52
authored
May 22, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix-0517'
parents
1e7acafc
6c53abbd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
19 deletions
+10
-19
StaffClerkRelationServiceImpl.java
...e/service/service/impl/StaffClerkRelationServiceImpl.java
+10
-14
HmQrcodeApiServiceImpl.java
...e/service/service/out/impl/hm/HmQrcodeApiServiceImpl.java
+0
-5
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/StaffClerkRelationServiceImpl.java
View file @
f3f69e52
...
@@ -296,20 +296,16 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
...
@@ -296,20 +296,16 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
this
.
clerkMainStoreRelatedService
.
reflushExternal
(
wxEnterpriseId
,
staffId
);
this
.
clerkMainStoreRelatedService
.
reflushExternal
(
wxEnterpriseId
,
staffId
);
}
}
//有活码权限的企业
//有活码权限的企业
boolean
flag
=
rightService
.
hasRightForAdmin
(
enterpriseId
,
"hb_m0206"
);
HmQrcodeQDTO
hmQrcodeQDTO
=
new
HmQrcodeQDTO
();
if
(
flag
)
{
hmQrcodeQDTO
.
setHmType
(
1
);
// 绑定自动创建活码
hmQrcodeQDTO
.
setWxEnterpriseId
(
wxEnterpriseId
);
HmQrcodeQDTO
hmQrcodeQDTO
=
new
HmQrcodeQDTO
();
hmQrcodeQDTO
.
setEnterpriseId
(
enterpriseId
);
hmQrcodeQDTO
.
setHmType
(
1
);
hmQrcodeQDTO
.
setName
(
tabHaobanStaff
.
getStaffName
());
hmQrcodeQDTO
.
setWxEnterpriseId
(
wxEnterpriseId
);
hmQrcodeQDTO
.
setPassFlag
(
1
);
hmQrcodeQDTO
.
setEnterpriseId
(
enterpriseId
);
hmQrcodeQDTO
.
setStoreId
(
dto
.
getStoreId
());
hmQrcodeQDTO
.
setName
(
tabHaobanStaff
.
getStaffName
());
hmQrcodeQDTO
.
setClerkIdList
(
Collections
.
singletonList
(
dto
.
getClerkId
()));
hmQrcodeQDTO
.
setPassFlag
(
1
);
hmQrcodeQDTO
.
setInvokingType
(
channelCode
);
hmQrcodeQDTO
.
setStoreId
(
dto
.
getStoreId
());
hmQrcodeApiService
.
add
(
hmQrcodeQDTO
);
hmQrcodeQDTO
.
setClerkIdList
(
Collections
.
singletonList
(
dto
.
getClerkId
()));
hmQrcodeQDTO
.
setInvokingType
(
channelCode
);
hmQrcodeApiService
.
add
(
hmQrcodeQDTO
);
}
}
}
//推入日志
//推入日志
staffClerkBindLogService
.
pushToMq
(
staffId
,
optStaffId
,
BindTypeEnum
.
BIND
.
getVal
(),
channelCode
,
staffClerkRelationId
);
staffClerkBindLogService
.
pushToMq
(
staffId
,
optStaffId
,
BindTypeEnum
.
BIND
.
getVal
(),
channelCode
,
staffClerkRelationId
);
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/hm/HmQrcodeApiServiceImpl.java
View file @
f3f69e52
...
@@ -787,11 +787,6 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
...
@@ -787,11 +787,6 @@ public class HmQrcodeApiServiceImpl implements HmQrcodeApiService {
String
enterpriseId
=
wxEnterpriseDTO
.
getEnterpriseId
();
String
enterpriseId
=
wxEnterpriseDTO
.
getEnterpriseId
();
//查询出所有正常的导购
//查询出所有正常的导购
String
wxEnterpriseId
=
wxEnterpriseDTO
.
getWxEnterpriseId
();
String
wxEnterpriseId
=
wxEnterpriseDTO
.
getWxEnterpriseId
();
boolean
flag
=
rightService
.
hasRightForAdmin
(
enterpriseId
,
"hb_m0206"
);
if
(!
flag
)
{
logger
.
info
(
"该企业未与gic关联,无需开启:enterpriseId:{},wxEnterpriseId:{}"
,
enterpriseId
,
wxEnterpriseId
);
continue
;
}
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"wxEnterpriseId"
,
wxEnterpriseId
);
jsonObject
.
put
(
"wxEnterpriseId"
,
wxEnterpriseId
);
jsonObject
.
put
(
"enterpriseId"
,
enterpriseId
);
jsonObject
.
put
(
"enterpriseId"
,
enterpriseId
);
...
...
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