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 48037f30
authored
Jul 16, 2021
by
danmo
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
管理员获取客户列表报错修改
1 parent
af3da079
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 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 @
48037f3
...
...
@@ -167,13 +167,13 @@ public class WeCustomerMessagePushServiceImpl implements IWeCustomerMessagePushS
//从redis中读取数据
List
<
WeCustomer
>
customers
=
redisCache
.
getCacheList
(
WeConstans
.
WECUSTOMERS_KEY
);
if
(
CollectionUtils
.
isEmpty
(
customers
))
{
customers
=
weCustomerService
.
selectWeCustomerList
(
null
);
WeCustomer
weCustomer
=
new
WeCustomer
();
weCustomer
.
setUserIds
(
staffId
);
weCustomer
.
setDepartmentIds
(
department
);
customers
=
weCustomerService
.
selectWeCustomerList
(
weCustomer
);
redisCache
.
setCacheList
(
WeConstans
.
WECUSTOMERS_KEY
,
customers
);
}
WeCustomer
weCustomer
=
new
WeCustomer
();
weCustomer
.
setUserIds
(
staffId
);
weCustomer
.
setDepartmentIds
(
department
);
return
weCustomerService
.
selectWeCustomerList
(
weCustomer
);
return
customers
;
}
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