Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
仟微科技
Link Wechat
提交
69da8f6f
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,发现更多精彩内容 >>
提交
69da8f6f
编写于
2月 04, 2021
作者:
L
leejoker
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
变更字段名称兼容群裂变
上级
d0253813
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
24 addition
and
21 deletion
+24
-21
linkwe-wecom/src/main/java/com/linkwechat/wecom/domain/WeTaskFission.java
.../main/java/com/linkwechat/wecom/domain/WeTaskFission.java
+9
-6
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeTaskFissionServiceImpl.java
...nkwechat/wecom/service/impl/WeTaskFissionServiceImpl.java
+2
-2
linkwe-wecom/src/main/resources/mapper/wecom/WeTaskFissionMapper.xml
...m/src/main/resources/mapper/wecom/WeTaskFissionMapper.xml
+11
-11
sql/link-wechat.sql
sql/link-wechat.sql
+2
-2
未找到文件。
linkwe-wecom/src/main/java/com/linkwechat/wecom/domain/WeTaskFission.java
浏览文件 @
69da8f6f
...
...
@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.TableField;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.linkwechat.common.annotation.Excel
;
import
com.linkwechat.common.core.domain.BaseEntity
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
...
...
@@ -101,14 +102,16 @@ public class WeTaskFission extends BaseEntity {
/**
* 任务裂变目标员工
*/
@Excel
(
name
=
"任务裂变目标员工"
)
private
String
fissStaffId
;
@Excel
(
name
=
"任务裂变目标id"
)
@ApiModelProperty
(
value
=
"任务裂变目标id, 目标员工或者群活码id"
)
private
String
fissionTargetId
;
/**
* 任务裂变目标员工姓名
*/
@Excel
(
name
=
"任务裂变目标员工姓名"
)
private
String
fissStaff
;
@Excel
(
name
=
"任务裂变目标"
)
@ApiModelProperty
(
value
=
"任务裂变目标, 目标员工名称或者群活码二维码地址"
)
private
String
fissionTarget
;
/**
* 任务裂变目标员工二维码
...
...
@@ -160,8 +163,8 @@ public class WeTaskFission extends BaseEntity {
.
append
(
"customerTag"
,
getCustomerTag
())
.
append
(
"postersId"
,
getPostersId
())
.
append
(
"postersUrl"
,
getPostersUrl
())
.
append
(
"fiss
StaffId"
,
getFissStaff
Id
())
.
append
(
"fiss
Staff"
,
getFissStaff
())
.
append
(
"fiss
ionTargetId"
,
getFissionTarget
Id
())
.
append
(
"fiss
ionTarget"
,
getFissionTarget
())
.
append
(
"fissQrcode"
,
getFissQrcode
())
.
append
(
"rewardUrl"
,
getRewardUrl
())
.
append
(
"rewardImageUrl"
,
getRewardImageUrl
())
...
...
linkwe-wecom/src/main/java/com/linkwechat/wecom/service/impl/WeTaskFissionServiceImpl.java
浏览文件 @
69da8f6f
...
...
@@ -139,9 +139,9 @@ public class WeTaskFissionServiceImpl implements IWeTaskFissionService {
//海报路径
String
postersPath
=
weTaskFission
.
getPostersUrl
();
//目标员工id
String
fiss
StaffId
=
weTaskFission
.
getFissStaff
Id
();
String
fiss
ionTargetId
=
weTaskFission
.
getFissionTarget
Id
();
//目标员工活码
String
fiss
Staff
Qrcode
=
weTaskFission
.
getFissQrcode
();
String
fissQrcode
=
weTaskFission
.
getFissQrcode
();
//todo 生成海报
LinkMessageDto
linkMessageDto
=
new
LinkMessageDto
();
...
...
linkwe-wecom/src/main/resources/mapper/wecom/WeTaskFissionMapper.xml
浏览文件 @
69da8f6f
...
...
@@ -16,8 +16,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"customerTag"
column=
"customer_tag"
/>
<result
property=
"postersId"
column=
"posters_id"
/>
<result
property=
"postersUrl"
column=
"posters_url"
/>
<result
property=
"fiss
StaffId"
column=
"fiss_staff
_id"
/>
<result
property=
"fiss
Staff"
column=
"fiss_staff
"
/>
<result
property=
"fiss
ionTargetId"
column=
"fission_target
_id"
/>
<result
property=
"fiss
ionTarget"
column=
"fission_target
"
/>
<result
property=
"fissQrcode"
column=
"fiss_qrcode"
/>
<result
property=
"rewardUrl"
column=
"reward_url"
/>
<result
property=
"rewardImageUrl"
column=
"reward_image_url"
/>
...
...
@@ -31,7 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql
id=
"selectWeTaskFissionVo"
>
select id, fission_type, task_name, fiss_info, fiss_num, start_time, over_time, customer_tag_id, customer_tag, posters_id, posters_url, fiss
_staff_id, fiss_staff
, fiss_qrcode, reward_url, reward_image_url, reward_rule, fiss_status, welcome_msg, create_by, create_time, update_by, update_time from we_task_fission
select id, fission_type, task_name, fiss_info, fiss_num, start_time, over_time, customer_tag_id, customer_tag, posters_id, posters_url, fiss
ion_target_id, fission_target
, fiss_qrcode, reward_url, reward_image_url, reward_rule, fiss_status, welcome_msg, create_by, create_time, update_by, update_time from we_task_fission
</sql>
<select
id=
"selectWeTaskFissionList"
parameterType=
"WeTaskFission"
resultMap=
"WeTaskFissionResult"
>
...
...
@@ -47,8 +47,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"customerTag != null and customerTag != ''"
>
and customer_tag = #{customerTag}
</if>
<if
test=
"postersId != null "
>
and posters_id = #{postersId}
</if>
<if
test=
"postersUrl != null and postersUrl != ''"
>
and posters_url = #{postersUrl}
</if>
<if
test=
"fiss
StaffId != null and fissStaffId != ''"
>
and fiss_staff_id = #{fissStaff
Id}
</if>
<if
test=
"fiss
Staff != null and fissStaff != ''"
>
and fiss_staff = #{fissStaff
}
</if>
<if
test=
"fiss
ionTargetId != null and fissionTargetId != ''"
>
and fission_target_id = #{fissionTarget
Id}
</if>
<if
test=
"fiss
ionTarget != null and fissionTarget != ''"
>
and fission_target = #{fissionTarget
}
</if>
<if
test=
"fissQrcode != null and fissQrcode != ''"
>
and fiss_qrcode = #{fissQrcode}
</if>
<if
test=
"rewardUrl != null and rewardUrl != ''"
>
and reward_url = #{rewardUrl}
</if>
<if
test=
"rewardImageUrl != null and rewardImageUrl != ''"
>
and reward_image_url = #{rewardImageUrl}
</if>
...
...
@@ -76,8 +76,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"customerTag != null"
>
customer_tag,
</if>
<if
test=
"postersId != null"
>
posters_id,
</if>
<if
test=
"postersUrl != null and postersUrl != ''"
>
posters_url,
</if>
<if
test=
"fiss
StaffId != null and fissStaffId != ''"
>
fiss_staff
_id,
</if>
<if
test=
"fiss
Staff != null and fissStaff != ''"
>
fiss_staff
,
</if>
<if
test=
"fiss
ionTargetId != null and fissionTargetId != ''"
>
fission_target
_id,
</if>
<if
test=
"fiss
ionTarget != null and fissionTarget != ''"
>
fission_target
,
</if>
<if
test=
"fissQrcode != null and fissQrcode != ''"
>
fiss_qrcode,
</if>
<if
test=
"rewardUrl != null and rewardUrl != ''"
>
reward_url,
</if>
<if
test=
"rewardImageUrl != null and rewardImageUrl != ''"
>
reward_image_url,
</if>
...
...
@@ -100,8 +100,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"customerTag != null"
>
#{customerTag},
</if>
<if
test=
"postersId != null"
>
#{postersId},
</if>
<if
test=
"postersUrl != null and postersUrl != ''"
>
#{postersUrl},
</if>
<if
test=
"fiss
StaffId != null and fissStaffId != ''"
>
#{fissStaff
Id},
</if>
<if
test=
"fiss
Staff != null and fissStaff != ''"
>
#{fissStaff
},
</if>
<if
test=
"fiss
ionTargetId != null and fissionTargetId != ''"
>
#{fissionTarget
Id},
</if>
<if
test=
"fiss
ionTarget != null and fissionTarget != ''"
>
#{fissionTarget
},
</if>
<if
test=
"fissQrcode != null and fissQrcode != ''"
>
#{fissQrcode},
</if>
<if
test=
"rewardUrl != null and rewardUrl != ''"
>
#{rewardUrl},
</if>
<if
test=
"rewardImageUrl != null and rewardImageUrl != ''"
>
#{rewardImageUrl},
</if>
...
...
@@ -128,8 +128,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"customerTag != null"
>
customer_tag = #{customerTag},
</if>
<if
test=
"postersId != null"
>
posters_id = #{postersId},
</if>
<if
test=
"postersUrl != null and postersUrl != ''"
>
posters_url = #{postersUrl},
</if>
<if
test=
"fiss
StaffId != null and fissStaffId != ''"
>
fiss_staff_id = #{fissStaff
Id},
</if>
<if
test=
"fiss
Staff != null and fissStaff != ''"
>
fiss_staff = #{fissStaff
},
</if>
<if
test=
"fiss
ionTargetId != null and fissionTargetId != ''"
>
fission_target_id = #{fissionTarget
Id},
</if>
<if
test=
"fiss
ionTarget != null and fissionTarget != ''"
>
fission_target = #{fissionTarget
},
</if>
<if
test=
"fissQrcode != null and fissQrcode != ''"
>
fiss_qrcode = #{fissQrcode},
</if>
<if
test=
"rewardUrl != null and rewardUrl != ''"
>
reward_url = #{rewardUrl},
</if>
<if
test=
"rewardImageUrl != null and rewardImageUrl != ''"
>
reward_image_url = #{rewardImageUrl},
</if>
...
...
sql/link-wechat.sql
浏览文件 @
69da8f6f
...
...
@@ -6420,8 +6420,8 @@ CREATE TABLE `we_task_fission` (
`customer_tag` MEDIUMTEXT NULL COMMENT '客户标签名称列表,为all是可为空',
`posters_id` BIGINT NULL DEFAULT NULL COMMENT '海报id',
`posters_url` VARCHAR(300) NOT NULL DEFAULT 'NULL' COMMENT '裂变海报路径',
`fiss
_staff_id` VARCHAR(64) NOT NULL DEFAULT 'NULL' COMMENT '任务裂变目标员工
',
`fiss
_staff` VARCHAR(100) NOT NULL DEFAULT 'NULL' COMMENT '任务裂变目标员工姓名
',
`fiss
ion_target_id` VARCHAR(64) NOT NULL DEFAULT 'NULL' COMMENT '任务裂变目标员工/群裂变id
',
`fiss
ion_target` VARCHAR(100) NOT NULL DEFAULT 'NULL' COMMENT '任务裂变目标员工姓名/群裂变二维码地址
',
`fiss_qrcode` VARCHAR(500) NOT NULL DEFAULT 'NULL' COMMENT '任务裂变目标二维码',
`reward_url` VARCHAR(500) NOT NULL DEFAULT 'NULL' COMMENT '兑奖链接',
`reward_image_url` VARCHAR(500) NOT NULL DEFAULT 'NULL' COMMENT '兑奖链接图片',
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录