Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
O
operate-customer-service
概览
概览
详情
活动
周期分析
版本库
存储库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
沈振路
operate-customer-service
Commits
ad578e1d
提交
ad578e1d
authored
11月 02, 2023
作者:
沈振路
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
关回多图文保存关联
上级
c0b57dff
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
15 行增加
和
3 行删除
+15
-3
CustomerFollowReplyMultiNews.java
...aoyaozw/customer/entity/CustomerFollowReplyMultiNews.java
+6
-0
ReferralEntity.java
...ain/java/com/yaoyaozw/customer/entity/ReferralEntity.java
+7
-2
CustomerFollowReplyMultiNewsServiceImpl.java
...service/impl/CustomerFollowReplyMultiNewsServiceImpl.java
+2
-1
没有找到文件。
src/main/java/com/yaoyaozw/customer/entity/CustomerFollowReplyMultiNews.java
浏览文件 @
ad578e1d
...
...
@@ -7,6 +7,8 @@ import com.baomidou.mybatisplus.annotation.IdType;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
lombok.Data
;
/**
...
...
@@ -20,12 +22,14 @@ public class CustomerFollowReplyMultiNews implements Serializable {
* 主键Id
*/
@TableId
(
value
=
"id"
,
type
=
IdType
.
ID_WORKER
)
@JsonSerialize
(
using
=
ToStringSerializer
.
class
)
private
Long
id
;
/**
* customer_follow_reply 表主键Id
*/
@TableField
(
"reply_id"
)
@JsonSerialize
(
using
=
ToStringSerializer
.
class
)
private
Long
replyId
;
/**
...
...
@@ -62,6 +66,7 @@ public class CustomerFollowReplyMultiNews implements Serializable {
* 创建人
*/
@TableField
(
"create_user"
)
@JsonSerialize
(
using
=
ToStringSerializer
.
class
)
private
Long
createUser
;
/**
...
...
@@ -74,6 +79,7 @@ public class CustomerFollowReplyMultiNews implements Serializable {
* 修改人
*/
@TableField
(
"modified_user"
)
@JsonSerialize
(
using
=
ToStringSerializer
.
class
)
private
Long
modifiedUser
;
private
static
final
long
serialVersionUID
=
1L
;
...
...
src/main/java/com/yaoyaozw/customer/entity/ReferralEntity.java
浏览文件 @
ad578e1d
package
com
.
yaoyaozw
.
customer
.
entity
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.fasterxml.jackson.databind.ser.std.ToStringSerializer
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
...
...
@@ -22,6 +24,7 @@ import java.util.Date;
public
class
ReferralEntity
implements
Serializable
{
@TableId
(
value
=
"id"
,
type
=
IdType
.
ID_WORKER
)
@ApiModelProperty
(
value
=
""
)
@JsonSerialize
(
using
=
ToStringSerializer
.
class
)
private
Long
id
;
/**
...
...
@@ -56,6 +59,7 @@ public class ReferralEntity implements Serializable {
*/
@TableField
(
value
=
"material_graphics_id"
)
@ApiModelProperty
(
value
=
"素材表id"
)
@JsonSerialize
(
using
=
ToStringSerializer
.
class
)
private
Long
materialGraphicsId
;
/**
...
...
@@ -63,6 +67,7 @@ public class ReferralEntity implements Serializable {
*/
@TableField
(
value
=
"material_graphics_info_id"
)
@ApiModelProperty
(
value
=
"素材表id"
)
@JsonSerialize
(
using
=
ToStringSerializer
.
class
)
private
Long
materialGraphicsInfoId
;
/**
...
...
@@ -206,6 +211,7 @@ public class ReferralEntity implements Serializable {
@TableField
(
exist
=
false
)
@ApiModelProperty
(
value
=
"infoId"
)
@JsonSerialize
(
using
=
ToStringSerializer
.
class
)
private
Long
infoId
;
@TableField
(
exist
=
false
)
...
...
@@ -248,4 +254,4 @@ public class ReferralEntity implements Serializable {
this
.
materialGraphicsInfoId
=
materialGraphicsInfoId
;
}
}
\ No newline at end of file
}
src/main/java/com/yaoyaozw/customer/service/impl/CustomerFollowReplyMultiNewsServiceImpl.java
浏览文件 @
ad578e1d
...
...
@@ -81,7 +81,8 @@ public class CustomerFollowReplyMultiNewsServiceImpl extends ServiceImpl<Custome
CustomerFollowReplyMultiNews
entity
=
new
CustomerFollowReplyMultiNews
();
BeanUtil
.
copyProperties
(
multiNewsEntity
,
entity
);
entity
.
setId
(
snowflakeComponent
.
snowflakeId
());
referralEntity
.
setId
(
entity
.
getId
());
entity
.
setReplyId
(
replyId
);
referralEntity
.
setMaterialGraphicsId
(
entity
.
getId
());
entityList
.
add
(
entity
);
referralEntityList
.
add
(
referralEntity
);
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论