From de91c84954157bb9f8b6d938cbe0b1b51fb6e65d Mon Sep 17 00:00:00 2001 From: CeDo <cedoogle@gmail.com> Date: 星期五, 07 五月 2021 15:23:57 +0800 Subject: [PATCH] bugfixed:新增便民服务商家 报错 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java | 21 +++++++++++++++------ 1 files changed, 15 insertions(+), 6 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java index 26addfc..c1811fd 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActNeighborCircleDO.java @@ -1,8 +1,6 @@ package com.panzhihua.service_community.model.dos; -import com.baomidou.mybatisplus.annotation.IdType; -import com.baomidou.mybatisplus.annotation.TableId; -import com.baomidou.mybatisplus.annotation.TableName; +import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.io.Serializable; @@ -90,6 +88,7 @@ /** * 发布时间 */ + @TableField(fill = FieldFill.INSERT) private Date createAt; /** @@ -98,20 +97,30 @@ private Date replyAt; /** - * 评论数 + * 近3天评论数 */ private Integer lastCommentNum; /** - * 点赞数 + * 近3天评论数 */ private Integer lastFabulousNum; /** - * 浏览量 + * 近3天评论数 */ private Integer lastViewsNum; + /** + * 发布状态(1.待审核 2.显示 3.隐藏 4.驳回) + */ + public interface status{ + int dsh = 1; + int xs = 2; + int yc = 3; + int bh = 4; + } + @Override public String toString() { return "ComActNeighborCircleDO{" + -- Gitblit v1.7.1