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/ComPensionAuthRecordDO.java |   70 ++++++++++++++++++++++++-----------
 1 files changed, 48 insertions(+), 22 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComPensionAuthRecordDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComPensionAuthRecordDO.java
index bddb92f..cd2ab5d 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComPensionAuthRecordDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComPensionAuthRecordDO.java
@@ -3,7 +3,9 @@
 import java.io.Serializable;
 import java.util.Date;
 
+import com.baomidou.mybatisplus.annotation.FieldFill;
 import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
 
@@ -25,7 +27,7 @@
     /**
      * 主键id
      */
-    @TableId(type = IdType.AUTO)
+    @TableId(type = IdType.ASSIGN_ID)
     private Long id;
     /**
      *养老金用户id
@@ -35,18 +37,35 @@
      *提交用户id
      */
     private Long submitUserId;
+
+    /**
+     * 认证方式(1.视频认证 2.人脸认证 3.线下认证)
+     */
+    private Integer authMethod;
+
     /**
      *认证期数
      */
     private String authPeriod;
+
+    /**
+     * 人脸核验结果数据
+     */
+    private String verificationResult;
+
     /**
      * 认证视频
      */
     private String authVideo;
     /**
-     *审核人员
+     * 现居地址
      */
-    private String approver;
+    private String address;
+
+    /**
+     *审核人员id
+     */
+    private Long approverId;
     /**
      *审核状态(1.待审核 2.驳回 3.通过)
      */
@@ -78,30 +97,37 @@
     /**
      *创建时间
      */
+    @TableField(fill = FieldFill.INSERT)
     private Date createAt;
     /**
      *更新时间
      */
+    @TableField(fill = FieldFill.UPDATE)
     private Date updateAt;
 
-    @Override
-    public String toString() {
-        return "ComPensionAuthRecordDO{" +
-                "id=" + id +
-                ", pensionerId=" + pensionerId +
-                ", submitUserId=" + submitUserId +
-                ", authPeriod='" + authPeriod + '\'' +
-                ", authVideo='" + authVideo + '\'' +
-                ", approver='" + approver + '\'' +
-                ", approvalStatus=" + approvalStatus +
-                ", approvalDate=" + approvalDate +
-                ", mark='" + mark + '\'' +
-                ", rejectReason='" + rejectReason + '\'' +
-                ", authStatus=" + authStatus +
-                ", authDate=" + authDate +
-                ", communityId=" + communityId +
-                ", createAt=" + createAt +
-                ", updateAt=" + updateAt +
-                '}';
+    /**
+     *审核状态(1.待审核 2.驳回 3.通过)
+     */
+    public interface approvalStatus{
+        int dsh = 1;
+        int bh = 2;
+        int tg = 3;
+    }
+
+    /**
+     *认证状态(1.已认证 0.未认证)
+     */
+    public interface authStatus{
+        int rez = 1;
+        int wrz = 0;
+    }
+
+    /**
+     * 认证方式(1.视频认证 2.人脸认证 3.线下认证)
+     */
+    public interface authMethod{
+        int sprz = 1;
+        int rlrz = 2;
+        int xxrz = 3;
     }
 }

--
Gitblit v1.7.1