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/ComActActSignDO.java | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActSignDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActSignDO.java index c3dcf31..bae66d8 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActSignDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActSignDO.java @@ -4,6 +4,7 @@ import java.util.Date; import com.baomidou.mybatisplus.annotation.FieldFill; +import com.baomidou.mybatisplus.annotation.FieldStrategy; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; @@ -25,7 +26,7 @@ /** * 自增id */ - @TableId(type = IdType.AUTO) + @TableId(type = IdType.ASSIGN_ID) private Long id; /** @@ -43,17 +44,29 @@ @TableField(fill = FieldFill.INSERT) private Date createAt; /** - * 是否是志愿者 0 不是 1 是 + * 以什么身份报名(1.居民 2.党员 3.志愿者) */ - private Integer isVolunteer; + private Integer signIdentity; /** * 报名状态 0 已取消 1已报名 */ private Integer status; + /** + * 单位id(党员以单位名义报名社区活动) + */ + private Long checkUnitId; /** * 取消原因 */ + @TableField(updateStrategy = FieldStrategy.IGNORED) private String reason; + + private Integer times; + + /** + * 是否邀请 + */ + private Boolean isInvite; } -- Gitblit v1.7.1