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_partybuilding/src/main/java/com/panzhihua/service_dangjian/model/dos/ComPbMemberDO.java | 30 +++++++++++++++++++++++++++--- 1 files changed, 27 insertions(+), 3 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/model/dos/ComPbMemberDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/model/dos/ComPbMemberDO.java index 934921e..006f624 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/model/dos/ComPbMemberDO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/model/dos/ComPbMemberDO.java @@ -3,7 +3,9 @@ import java.io.Serializable; import java.util.Date; +import com.baomidou.mybatisplus.annotation.FieldStrategy; import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; @@ -24,7 +26,7 @@ /** * 党员在表中的id */ - @TableId(type = IdType.AUTO) + @TableId(type = IdType.ASSIGN_ID) private Long id; /** @@ -55,6 +57,7 @@ /** * 转正时间 */ + @TableField(updateStrategy = FieldStrategy.IGNORED) private Date employmentTime; /** @@ -109,6 +112,7 @@ /** * 职能 */ + @TableField("`function`") private String function; /** @@ -127,9 +131,29 @@ private String positionTwo; /** + * 党组织名字 + */ + private String orgName; + + private Long helpCommunityId; + + private Long villageId; + + private String natureName; + + private Integer natureId; + + private String otherRemark; + + private String helpCommunityName; + + private String communityName; + + + /** * 党员审查结果 0待审核 1 审核通过 3审核失败 */ - public interface AuditResult{ + public interface AuditResult { int DSH = 0; int SHTG = 1; int SHBH = 3; @@ -138,7 +162,7 @@ /** * 党员类型(1.预备党员 2.正式党员) */ - public interface Type{ + public interface Type { int YBDY = 1; int ZSDY = 2; } -- Gitblit v1.7.1