From 4d44fd4d459f06b12d0c76ac2514a7b2c01acfc1 Mon Sep 17 00:00:00 2001 From: "kuang.yife" Date: Tue, 9 Apr 2024 15:43:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9F=AD=E5=89=A7=E4=BB=BB=E5=8A=A1=E7=BC=BA?= =?UTF-8?q?=E5=B0=91=E5=AD=97=E6=AE=B5=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../playlet/system/domain/PlayletTask.java | 35 ++++++++++++++++--- .../mapper/system/PlayletTaskMapper.xml | 21 +++++++++++ 2 files changed, 52 insertions(+), 4 deletions(-) diff --git a/playlet-system/src/main/java/com/playlet/system/domain/PlayletTask.java b/playlet-system/src/main/java/com/playlet/system/domain/PlayletTask.java index 73ac7a0..df01047 100644 --- a/playlet-system/src/main/java/com/playlet/system/domain/PlayletTask.java +++ b/playlet-system/src/main/java/com/playlet/system/domain/PlayletTask.java @@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.playlet.common.core.domain.BaseEntity; import com.baomidou.mybatisplus.annotation.TableName; +import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; @@ -14,14 +15,12 @@ import com.playlet.common.annotation.Excel; import java.util.Date; /** - * @Date: 2024-03-21 23:44 - * @Author: 但星霖 - * @Version: v1.0 - * @Description: 短剧任务对象 + * @author clunt */ @Data @EqualsAndHashCode(callSuper = false) @TableName(value = "playlet_task") +@ApiModel(value = "短剧*任务实体") public class PlayletTask extends BaseEntity { private static final long serialVersionUID = 1L; @@ -103,6 +102,34 @@ public class PlayletTask extends BaseEntity { @ApiModelProperty(value = "任务总奖金,单位分 保留") private Long totalBonus; + @Excel(name = "基础佣金,单位分 保留") + @ApiModelProperty(value = "基础佣金,单位分") + private Long baseBonus; + + @Excel(name = "视频数") + @ApiModelProperty(value = "视频数") + private Long videoCount; + + @Excel(name = "播放次数") + @ApiModelProperty(value = "播放次数") + private Long playCount; + + @Excel(name = "获赞数") + @ApiModelProperty(value = "获赞数") + private Long starCount; + + @Excel(name = "评论数") + @ApiModelProperty(value = "评论数") + private Long commentCount; + + @Excel(name = "活动介绍") + @ApiModelProperty(value = "活动介绍") + private String taskContent; + + @Excel(name = "活动图片") + @ApiModelProperty(value = "活动图片") + private String taskImg; + /** * 任务奖励描述 */ diff --git a/playlet-system/src/main/resources/mapper/system/PlayletTaskMapper.xml b/playlet-system/src/main/resources/mapper/system/PlayletTaskMapper.xml index 9d918b1..0f35b66 100644 --- a/playlet-system/src/main/resources/mapper/system/PlayletTaskMapper.xml +++ b/playlet-system/src/main/resources/mapper/system/PlayletTaskMapper.xml @@ -16,6 +16,13 @@ + + + + + + + @@ -37,6 +44,13 @@ contribute_end_time, ask_for, total_bonus, + video_count, + play_count, + star_count, + comment_count, + base_bonus, + task_content, + task_img, award_describe, state, create_time, @@ -77,6 +91,13 @@ playlet_task.`contribute_end_time`, playlet_task.`ask_for`, playlet_task.`total_bonus`, + playlet_task.video_count, + playlet_task.play_count, + playlet_task.star_count, + playlet_task.comment_count, + playlet_task.base_bonus, + playlet_task.task_content, + playlet_task.task_img, playlet_task.`award_describe`, playlet_task.`state`, playlet_task.`create_time`,