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 c0171b4a
authored
Jan 05, 2022
by
linkwechat8856@163.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复轨迹文案错误bug
1 parent
6248bb47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
linkwe-common/src/main/java/com/linkwechat/common/enums/TrajectorySceneType.java
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeCustomerTrajectoryServiceImpl.java
linkwe-common/src/main/java/com/linkwechat/common/enums/TrajectorySceneType.java
View file @
c0171b4
...
...
@@ -11,7 +11,7 @@ public enum TrajectorySceneType {
TRAJECTORY_TITLE_GXQYBQ
(
5
,
"更新企业标签"
,
"员工:%s,更新客户标签:%s"
),
TRAJECTORY_TITLE_GXGRBQ
(
6
,
"更新个人标签"
,
"员工:%s,更新个人标签:%s"
),
TRAJECTORY_TITLE_BJBQ
(
7
,
"编辑信息"
,
"员工:%s 编辑了:%s的详细资料"
),
TRAJECTORY_TITLE_TJGJ
(
8
,
"添加
更
进"
,
"员工%s添加跟进:%s"
),
TRAJECTORY_TITLE_TJGJ
(
8
,
"添加
跟
进"
,
"员工%s添加跟进:%s"
),
TRAJECTORY_TITLE_DZPYQ
(
9
,
"点赞朋友圈"
,
"%s点赞了员工%s的朋友圈"
),
TRAJECTORY_TITLE_PLPYQ
(
10
,
"评论朋友圈"
,
"%s评论了员工%s的朋友圈"
);
...
...
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeCustomerTrajectoryServiceImpl.java
View file @
c0171b4
...
...
@@ -81,8 +81,15 @@ public class WeCustomerTrajectoryServiceImpl extends ServiceImpl<WeCustomerTraje
.
build
();
if
(
TrajectorySceneType
.
TRAJECTORY_TITLE_DZPYQ
.
getType
().
equals
(
trajectorySence
)
||
TrajectorySceneType
.
TRAJECTORY_TITLE_PLPYQ
.
getType
().
equals
(
trajectorySence
)
||
TrajectorySceneType
.
TRAJECTORY_TITLE_BJBQ
.
getType
().
equals
(
trajectorySence
)){
||
TrajectorySceneType
.
TRAJECTORY_TITLE_PLPYQ
.
getType
().
equals
(
trajectorySence
)){
trajectory
.
setContent
(
String
.
format
(
TrajectorySceneType
.
of
(
trajectorySence
).
getMsgTpl
(),
iWeCustomerService
.
getOne
(
new
LambdaQueryWrapper
<
WeCustomer
>()
.
eq
(
WeCustomer:
:
getFirstUserId
,
k
.
getUserId
())
.
eq
(
WeCustomer:
:
getExternalUserid
,
k
.
getCustomerId
())).
getCustomerName
(),
iWeUserService
.
getById
(
k
.
getUserId
()).
getName
())
);
}
else
if
(
TrajectorySceneType
.
TRAJECTORY_TITLE_BJBQ
.
getType
().
equals
(
trajectorySence
)){
trajectory
.
setContent
(
String
.
format
(
TrajectorySceneType
.
of
(
trajectorySence
).
getMsgTpl
(),
iWeUserService
.
getById
(
k
.
getUserId
()).
getName
(),
...
...
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