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/ComSwRotaDO.java |   52 ++++++++++++++++++++++++++--------------------------
 1 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComSwRotaDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComSwRotaDO.java
index 5ad5941..d27920d 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComSwRotaDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComSwRotaDO.java
@@ -1,11 +1,11 @@
 package com.panzhihua.service_community.model.dos;
 
-import com.baomidou.mybatisplus.annotation.*;
-import lombok.Data;
-
 import java.io.Serializable;
 import java.util.Date;
 
+import com.baomidou.mybatisplus.annotation.*;
+
+import lombok.Data;
 
 /**
  * @auther txb
@@ -20,24 +20,24 @@
     private static final long serialVersionUID = 1L;
 
     /**
-    * 值班表主键id
-    */
-    @TableId(type = IdType.INPUT)
+     * 值班表主键id
+     */
+    @TableId(type = IdType.ASSIGN_ID)
     private Long id;
 
     /**
-    * 社区ID
-    */
+     * 社区ID
+     */
     private Long communityId;
 
     /**
-    * 值班时间
-    */
+     * 值班时间
+     */
     private Date rotaDate;
 
     /**
-    * 值班领导,多个以逗号隔开
-    */
+     * 值班领导,多个以逗号隔开
+     */
     private String rotaLeader;
 
     /**
@@ -46,13 +46,13 @@
     private String leaderName;
 
     /**
-    * 领导联系电话,多个以逗号隔开
-    */
+     * 领导联系电话,多个以逗号隔开
+     */
     private String leaderPhone;
 
     /**
-    * 值班人员,多个以逗号隔开
-    */
+     * 值班人员,多个以逗号隔开
+     */
     private String rotaPerson;
 
     /**
@@ -61,29 +61,29 @@
     private String personName;
 
     /**
-    * 人员联系电话,多个以逗号隔开
-    */
+     * 人员联系电话,多个以逗号隔开
+     */
     private String personPhone;
 
     /**
-    * 创建时间
-    */
+     * 创建时间
+     */
     @TableField(fill = FieldFill.INSERT)
     private Date createAt;
 
     /**
-    * 创建人
-    */
+     * 创建人
+     */
     private Long createBy;
 
     /**
-    * 更新时间
-    */
+     * 更新时间
+     */
     @TableField(fill = FieldFill.INSERT_UPDATE)
     private Date updateAt;
 
     /**
-    * 修改人
-    */
+     * 修改人
+     */
     private Long updateBy;
 }
\ No newline at end of file

--
Gitblit v1.7.1