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 |   96 +++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 90 insertions(+), 6 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 fe38ec8..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
@@ -1,14 +1,15 @@
 package com.panzhihua.service_dangjian.model.dos;
 
+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;
-import io.swagger.annotations.ApiModelProperty;
-import lombok.Data;
 
-import java.io.Serializable;
-import java.util.Date;
+import lombok.Data;
 
 /**
  * @program: springcloud_k8s_panzhihuazhihuishequ
@@ -25,7 +26,7 @@
     /**
      * 党员在表中的id
      */
-    @TableId(type = IdType.AUTO)
+    @TableId(type = IdType.ASSIGN_ID)
     private Long id;
 
     /**
@@ -56,12 +57,13 @@
     /**
      * 转正时间
      */
+    @TableField(updateStrategy = FieldStrategy.IGNORED)
     private Date employmentTime;
 
     /**
      * 党员审查结果
      */
-    private String auditResult;
+    private Integer auditResult;
 
     /**
      * 创建时间
@@ -82,4 +84,86 @@
      */
     private Long userId;
 
+    /**
+     * 驳回原因
+     */
+    private String refuseReason;
+
+    /**
+     * 手机号
+     */
+    private String phone;
+
+    /**
+     * 党员类型(1.预备党员 2.正式党员)
+     */
+    private Integer type;
+
+    /**
+     * 职位
+     */
+    private String position;
+
+    /**
+     * 报道单位id
+     */
+    private Long checkUnitId;
+
+    /**
+     * 职能
+     */
+    @TableField("`function`")
+    private String function;
+
+    /**
+     * 特长类别(1.体育类 2.舞蹈类 3.音乐类 4.美术类 5.其他)
+     */
+    private Integer specialtyCategory;
+
+    /**
+     * 特长描述
+     */
+    private String specialtyName;
+
+    /**
+     * 职位2
+     */
+    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 {
+        int DSH = 0;
+        int SHTG = 1;
+        int SHBH = 3;
+    }
+
+    /**
+     * 党员类型(1.预备党员 2.正式党员)
+     */
+    public interface Type {
+        int YBDY = 1;
+        int ZSDY = 2;
+    }
 }

--
Gitblit v1.7.1