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/ComEldersAuthUserDO.java |   34 ++++++++++++++++++----------------
 1 files changed, 18 insertions(+), 16 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComEldersAuthUserDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComEldersAuthUserDO.java
index beba0c8..b9df6ed 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComEldersAuthUserDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComEldersAuthUserDO.java
@@ -1,15 +1,15 @@
 package com.panzhihua.service_community.model.dos;
 
+import java.io.Serializable;
+import java.util.Date;
+
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
 import com.panzhihua.common.model.helper.encrypt.EncryptDecryptClass;
 import com.panzhihua.common.model.helper.encrypt.EncryptDecryptField;
+
 import lombok.Data;
-
-import java.io.Serializable;
-import java.util.Date;
-
 
 /**
  * 用户绑定老人关系实体类
@@ -18,7 +18,7 @@
  * @version 1.0
  * @since 1.0
  * @date 2021-06-09
- * */
+ */
 @Data
 @TableName("com_elders_auth_user")
 @EncryptDecryptClass
@@ -27,54 +27,56 @@
     private static final long serialVersionUID = 1L;
 
     /**
-     * 主键id   列: id
+     * 主键id 列: id
      */
-    @TableId(type = IdType.AUTO)
+    @TableId(type = IdType.ASSIGN_ID)
     private Long id;
     /**
-     * 用户id   列: user_id
+     * 用户id 列: user_id
      */
     private Long userId;
     /**
-     * 与本人关系(1.父母 2.配偶 3.子女 4.兄弟姐妹 5.祖/外祖父母 6.本人 7.其他)   列: relation
+     * 与本人关系(1.父母 2.配偶 3.子女 4.兄弟姐妹 5.祖/外祖父母 6.本人 7.其他) 列: relation
      */
     private Integer relation;
     /**
-     * 是否已认证(1.是 2.否)   列: is_auth
+     * 是否已认证(1.是 2.否) 列: is_auth
      */
     private Integer isAuth;
     /**
-     * 姓名   列: name
+     * 姓名 列: name
      */
     private String name;
     /**
-     * 身份证号码   列: id_card
+     * 身份证号码 列: id_card
      */
     @EncryptDecryptField
     private String idCard;
     /**
-     * 社区id   列: community_id
+     * 社区id 列: community_id
      */
     private Long communityId;
     /**
-     * 高龄老人库id   列: big_age_id
+     * 高龄老人库id 列: big_age_id
      */
     private Long bigAgeId;
     /**
      * 创建时间 列:create_at
      */
     private Date createAt;
+
     /**
      * 是否已认证(1.是 2.否)
      */
-    public interface isAuth{
+    public interface isAuth {
         int yes = 1;
         int no = 2;
     }
+
     /**
      * 与本人关系(1.父母 2.配偶 3.子女 4.兄弟姐妹 5.祖/外祖父母 6.本人 7.其他)
      */
-    public interface relation{
+    public interface relation {
         int fm = 1;
         int po = 2;
         int zn = 3;

--
Gitblit v1.7.1