Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 56c87bb7
authored
Nov 02, 2021
by
linkwechat8856@163.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
客户删除回调查询
1 parent
5d38bccf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
linkwe-wecom/src/main/java/com/linkwechat/wecom/factory/impl/customer/WeCallBackDelFollowUserImpl.java
linkwe-wecom/src/main/java/com/linkwechat/wecom/factory/impl/customer/WeCallBackDelFollowUserImpl.java
View file @
56c87bb
...
...
@@ -51,7 +51,9 @@ public class WeCallBackDelFollowUserImpl extends WeEventStrategy {
Optional
.
ofNullable
(
validWeCorpAccount
).
ifPresent
(
weCorpAccount
->
{
String
customerChurnNoticeSwitch
=
weCorpAccount
.
getCustomerChurnNoticeSwitch
();
if
(
WeConstans
.
DEL_FOLLOW_USER_SWITCH_OPEN
.
equals
(
customerChurnNoticeSwitch
))
{
WeCustomer
weCustomer
=
weCustomerService
.
selectWeCustomerById
(
message
.
getExternalUserId
());
WeCustomer
weCustomer
=
weCustomerService
.
getOne
(
new
LambdaQueryWrapper
<
WeCustomer
>().
eq
(
WeCustomer:
:
getFirstUserId
,
message
.
getUserId
())
.
eq
(
WeCustomer:
:
getExternalUserid
,
message
.
getExternalUserId
()));
String
content
=
"您已经被客户@"
+
weCustomer
.
getName
()
+
"删除!"
;
TextMessageDto
textMessageDto
=
new
TextMessageDto
();
textMessageDto
.
setContent
(
content
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment