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/ComActIntegralUserTradeDO.java |   49 ++++++++++++++++++++-----------------------------
 1 files changed, 20 insertions(+), 29 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActIntegralUserTradeDO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActIntegralUserTradeDO.java
index 91bc6b6..e8a9046 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActIntegralUserTradeDO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/model/dos/ComActIntegralUserTradeDO.java
@@ -1,13 +1,13 @@
 package com.panzhihua.service_community.model.dos;
 
-import com.baomidou.mybatisplus.annotation.IdType;
-import com.baomidou.mybatisplus.annotation.TableId;
-import com.baomidou.mybatisplus.annotation.TableName;
-import lombok.Data;
-
 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 lombok.Data;
 
 /**
  * @auther lyq
@@ -24,7 +24,7 @@
     /**
      * 主键id
      */
-    @TableId(type = IdType.INPUT)
+    @TableId(type = IdType.ASSIGN_ID)
     private Long id;
 
     /**
@@ -48,7 +48,8 @@
     private Long serviceId;
 
     /**
-     * 交易业务类型(1.发布随手拍 2.发布微心愿 3.参与议事投票 4.参与志愿者活动 5.参与社区活动 6.参与党员活动 7.参与调查问卷)
+     * 交易业务类型(1.发布随手拍 2.发布微心愿 3.参与议事投票 4.社区活动-居民身份参与 " +
+     *             "5.社区活动-党员身份参与 6.社区活动-志愿者身份参与 7.参与调查问卷 8.取消活动 9.参与单位党员活动)
      */
     private Integer serviceType;
 
@@ -58,7 +59,7 @@
     private Integer amount;
 
     /**
-     * 变动类型(1.增加  2.减少)
+     * 变动类型(1.增加 2.减少)
      */
     private Integer changeType;
 
@@ -82,10 +83,18 @@
      */
     private Long createBy;
 
+    @Override
+    public String toString() {
+        return "ComActIntegralUserTradeDO{" + "id=" + id + ", userId=" + userId + ", integralId=" + integralId
+            + ", communityId=" + communityId + ", serviceId=" + serviceId + ", serviceType=" + serviceType + ", amount="
+            + amount + ", changeType=" + changeType + ", remark=" + remark + ", identityType=" + identityType
+            + ", createAt=" + createAt + ", createBy=" + createBy + "}";
+    }
+
     /**
-     * 变动类型(1.增加  2.减少)
+     * 变动类型(1.增加 2.减少)
      */
-    public interface changeType{
+    public interface changeType {
         int add = 1;
         int reduce = 2;
     }
@@ -93,27 +102,9 @@
     /**
      * 交易身份类型(1.居民 2.党员 3.志愿者)
      */
-    public interface identityType{
+    public interface identityType {
         int jm = 1;
         int dy = 2;
         int zyz = 3;
-    }
-
-    @Override
-    public String toString() {
-        return "ComActIntegralUserTradeDO{" +
-                "id=" + id +
-                ", userId=" + userId +
-                ", integralId=" + integralId +
-                ", communityId=" + communityId +
-                ", serviceId=" + serviceId +
-                ", serviceType=" + serviceType +
-                ", amount=" + amount +
-                ", changeType=" + changeType +
-                ", remark=" + remark +
-                ", identityType=" + identityType +
-                ", createAt=" + createAt +
-                ", createBy=" + createBy +
-                "}";
     }
 }
\ No newline at end of file

--
Gitblit v1.7.1