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 40d3202b
authored
Mar 25, 2021
by
leejoker
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改选择所有客户
1 parent
2d075c1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeCustomerMessagePushServiceImpl.java
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeCustomerMessagePushServiceImpl.java
View file @
40d3202
...
...
@@ -84,7 +84,7 @@ public class WeCustomerMessagePushServiceImpl implements IWeCustomerMessagePushS
if
(
customerMessagePushDto
.
getPushType
().
equals
(
WeConstans
.
SEND_MESSAGE_CUSTOMER
))
{
//查询客户信息列表
if
(
"all"
.
equals
(
customerMessagePushDto
.
getTag
()))
{
customers
=
externalUserIds
(
WeConstans
.
SEND_MESSAGE_CUSTOMER_ALL
,
null
,
null
,
null
);
customers
=
externalUserIds
(
WeConstans
.
SEND_MESSAGE_CUSTOMER_ALL
,
customerMessagePushDto
.
getStaffId
(),
customerMessagePushDto
.
getDepartment
(),
customerMessagePushDto
.
getTag
()
);
}
else
{
customers
=
externalUserIds
(
customerMessagePushDto
.
getPushRange
(),
customerMessagePushDto
.
getStaffId
()
,
customerMessagePushDto
.
getDepartment
(),
customerMessagePushDto
.
getTag
());
...
...
@@ -163,7 +163,10 @@ public class WeCustomerMessagePushServiceImpl implements IWeCustomerMessagePushS
customers
=
weCustomerService
.
selectWeCustomerList
(
null
);
redisCache
.
setCacheList
(
WeConstans
.
WECUSTOMERS_KEY
,
customers
);
}
return
customers
;
WeCustomer
weCustomer
=
new
WeCustomer
();
weCustomer
.
setUserIds
(
staffId
);
weCustomer
.
setDepartmentIds
(
department
);
return
weCustomerService
.
selectWeCustomerList
(
weCustomer
);
}
else
{
//按条件查询客户
//通过部门id查询所有的员工
...
...
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