From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +0800 Subject: [PATCH] 修改文件上传类型限制 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActMicroWishDO.java | 57 ++++++++++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 46 insertions(+), 11 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActMicroWishDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActMicroWishDO.java index 24f1087..a113ac6 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActMicroWishDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActMicroWishDO.java @@ -1,11 +1,10 @@ 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; +import java.math.BigDecimal; import java.util.Date; /** @@ -22,7 +21,7 @@ /** * 自增id */ - @TableId(type = IdType.AUTO) + @TableId(type = IdType.ASSIGN_ID) private Long id; /** @@ -47,11 +46,6 @@ private Integer status; /** - * 集星数 - */ - private Integer startNum; - - /** * 形式 1分配人员 2发起活动 */ private Integer form; @@ -64,12 +58,17 @@ /** * 创建时间 */ + @TableField(fill = FieldFill.INSERT) private Date createAt; /** * 审核时间 */ private Date examineAt; + /** + * 分配时间 + */ + private Date distributionAt; /** * 评分 @@ -101,9 +100,9 @@ private Date evaluateAt; /** - * 心愿完成时间 + * 反馈时间 */ - private Date finishAt; + private Date feedbackAt; /** * 完成情况图片列表,逗号分隔 @@ -114,6 +113,10 @@ * 完成情况描述 */ private String finish; + /** + * 完成时间=反馈时间 + */ + private Date finishAt; /** * 驳回理由 */ @@ -128,5 +131,37 @@ * 反馈图片集合,逗号分隔 */ private String feedbackPhotoPathList; + /** + * 目标集心数 + */ + private Integer aimNum; + + /** + * 单张图片宽度 + */ + private BigDecimal imgWidth; + + /** + * 单张图片高度 + */ + private BigDecimal imgHeight; + + /** + * 处理人id,多个以逗号隔开 + */ + private String handleId; + + /** + * 状态 1待审核 2待分配 3进行中 4已驳回 5待确认6 已完成 7集心中 + */ + public interface status{ + int dsh=1; + int dfp=2; + int jxz=3; + int ybh=4; + int dqr=5; + int ywc=6; + int jx=7; + } } -- Gitblit v1.7.1