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/ComActActRegistDO.java | 24 +++++++++--------------- 1 files changed, 9 insertions(+), 15 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActRegistDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActRegistDO.java index ded2343..5e2cd0e 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActRegistDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActActRegistDO.java @@ -24,7 +24,7 @@ /** * 自增id */ - @TableId(type = IdType.INPUT) + @TableId(type = IdType.ASSIGN_ID) private Long id; /** @@ -74,23 +74,17 @@ private Long codeId; /** - * 活动类型 1居民,志愿者 2党员 + * 活动类型 1 社区活动 4项目活动 5服务活动 */ private Integer type; /** - * 是否是志愿者 0 否 1 是 - */ - private Integer isVolunteer; + * 以什么身份报名(1.居民 2.党员 3.志愿者 + */ + private Integer signIdentity; -@Override -public String toString() { - return "ComActActRegistDO{" + - "id=" + id + - ", activityId=" + activityId + - ", userId=" + userId + - ", createAt=" + createAt + - ", isVolunteer=" + isVolunteer + - "}"; - } + /** + * 单位id(党员以单位名义报名社区活动) + */ + private Long checkUnitId; } \ No newline at end of file -- Gitblit v1.7.1