Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
仟微科技
Link Wechat
提交
9e96fef5
Link Wechat
项目概览
仟微科技
/
Link Wechat
通知
48
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
1
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
Link Wechat
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9e96fef5
编写于
2月 04, 2021
作者:
孙
孙喜旺
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix
上级
7ab42bac
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
11 addition
and
7 deletion
+11
-7
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeTaskFissionServiceImpl.java
...nkwechat/wecom/service/impl/WeTaskFissionServiceImpl.java
+11
-7
未找到文件。
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeTaskFissionServiceImpl.java
浏览文件 @
9e96fef5
...
@@ -18,6 +18,7 @@ import com.linkwechat.wecom.service.*;
...
@@ -18,6 +18,7 @@ import com.linkwechat.wecom.service.*;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.apache.commons.collections4.CollectionUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
...
@@ -39,8 +40,6 @@ public class WeTaskFissionServiceImpl implements IWeTaskFissionService {
...
@@ -39,8 +40,6 @@ public class WeTaskFissionServiceImpl implements IWeTaskFissionService {
@Autowired
@Autowired
private
IWeTaskFissionStaffService
weTaskFissionStaffService
;
private
IWeTaskFissionStaffService
weTaskFissionStaffService
;
@Autowired
@Autowired
private
IWeEmpleCodeService
weEmpleCodeService
;
@Autowired
private
IWeCustomerMessagePushService
weCustomerMessagePushService
;
private
IWeCustomerMessagePushService
weCustomerMessagePushService
;
@Autowired
@Autowired
private
IWeTaskFissionRecordService
weTaskFissionRecordService
;
private
IWeTaskFissionRecordService
weTaskFissionRecordService
;
...
@@ -50,6 +49,8 @@ public class WeTaskFissionServiceImpl implements IWeTaskFissionService {
...
@@ -50,6 +49,8 @@ public class WeTaskFissionServiceImpl implements IWeTaskFissionService {
private
WeExternalContactClient
weExternalContactClient
;
private
WeExternalContactClient
weExternalContactClient
;
@Autowired
@Autowired
private
IWePosterService
wePosterService
;
private
IWePosterService
wePosterService
;
@Value
(
"${H5.url}"
)
private
String
pageUrl
;
/**
/**
* 查询任务宝
* 查询任务宝
...
@@ -139,16 +140,19 @@ public class WeTaskFissionServiceImpl implements IWeTaskFissionService {
...
@@ -139,16 +140,19 @@ public class WeTaskFissionServiceImpl implements IWeTaskFissionService {
//海报路径
//海报路径
String
postersPath
=
weTaskFission
.
getPostersUrl
();
String
postersPath
=
weTaskFission
.
getPostersUrl
();
//目标员工id
//目标员工id
String
fissionTargetId
=
weTaskFission
.
getFissionTargetId
();
String
fissStaffId
=
weTaskFission
.
getFissionTargetId
();
//目标员工活码
//todo H5生成海报页面路径
String
fissQrcode
=
weTaskFission
.
getFissQrcode
();
StringBuilder
pageUrlBuilder
=
new
StringBuilder
(
pageUrl
);
//todo 生成海报
pageUrlBuilder
.
append
(
"?"
)
.
append
(
"fissionId="
).
append
(
id
)
.
append
(
"&"
)
.
append
(
"userId="
).
append
(
fissStaffId
);
LinkMessageDto
linkMessageDto
=
new
LinkMessageDto
();
LinkMessageDto
linkMessageDto
=
new
LinkMessageDto
();
linkMessageDto
.
setPicurl
(
postersPath
);
linkMessageDto
.
setPicurl
(
postersPath
);
linkMessageDto
.
setDesc
(
weTaskFission
.
getFissInfo
());
linkMessageDto
.
setDesc
(
weTaskFission
.
getFissInfo
());
linkMessageDto
.
setTitle
(
weTaskFission
.
getTaskName
());
linkMessageDto
.
setTitle
(
weTaskFission
.
getTaskName
());
linkMessageDto
.
setUrl
(
"www.baidu.com"
);
linkMessageDto
.
setUrl
(
pageUrlBuilder
.
toString
()
);
CustomerMessagePushDto
customerMessagePushDto
=
new
CustomerMessagePushDto
();
CustomerMessagePushDto
customerMessagePushDto
=
new
CustomerMessagePushDto
();
customerMessagePushDto
.
setLinkMessage
(
linkMessageDto
);
customerMessagePushDto
.
setLinkMessage
(
linkMessageDto
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录