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
6995fda1
Commit
6995fda1
authored
Oct 08, 2022
by
墨竹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:区经身份变更为导购,解绑好办
parent
78dae5e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
StaffClerkRelationApiServiceImpl.java
...ce/service/out/impl/StaffClerkRelationApiServiceImpl.java
+10
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/StaffClerkRelationApiServiceImpl.java
View file @
6995fda1
...
...
@@ -470,8 +470,12 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
}
else
if
(
type
==
3
)
{
//店长任务重新分配
Integer
clerkType
=
clerkDTO
.
getClerkType
();
if
(
clerkType
==
null
)
{
logger
.
error
(
"导购类型为空:{}"
,
clerkId
);
return
;
}
logger
.
info
(
"店长任务重新分配,clerkId:{},clerkType:{}"
,
clerkId
,
clerkType
);
if
(
clerkType
!=
null
&&
clerkType
==
1
)
{
if
(
clerkType
==
1
)
{
//发消息处理新增店长,任务重新分配问题
try
{
logger
.
info
(
"待分配任务重分配======>{}"
,
clerkId
);
...
...
@@ -485,8 +489,12 @@ public class StaffClerkRelationApiServiceImpl implements StaffClerkRelationApiSe
}
catch
(
Exception
e
)
{
logger
.
error
(
"任务重新分配问题发送消息队列出错"
,
e
);
}
hmQrcodeService
.
updateClerkNameByClerkId
(
enterpriseId
,
clerkId
,
clerkDTO
.
getClerkName
(),
clerkDTO
.
getClerkCode
());
}
else
if
(
clerkType
==
2
)
{
logger
.
info
(
"区经变更为导购,解绑:{}"
,
clerkId
);
//解绑
staffClerkRelationService
.
delBind
(
clerkId
,
"-1"
,
ChannelCodeEnum
.
GIC_CLERK_DEL_UNBIND
.
getCode
());
}
hmQrcodeService
.
updateClerkNameByClerkId
(
enterpriseId
,
clerkId
,
clerkDTO
.
getClerkName
(),
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