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/service/impl/ComEventTransferRecordServiceImpl.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEventTransferRecordServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEventTransferRecordServiceImpl.java
index 34cc45c..c1d2b7f 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEventTransferRecordServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComEventTransferRecordServiceImpl.java
@@ -60,13 +60,14 @@
             comEventTransferRecord.setId(Snowflake.getId());
         }
         comEventTransferRecord.setCreateAt(new Date());
-        int i = comEventTransferRecordMapper.insert(comEventTransferRecord);
+        int i = comEventTransferRecordMapper.insertSelective(comEventTransferRecord);
         if (!(i>0)) {
             return R.fail(ReturnMsgConstants.DATA_EXIST);
         }
         return R.ok(ReturnMsgConstants.SAVE_SUCCESS);
     }
 
+
     @Override
     @Transactional(rollbackFor = Exception.class)
     public R updateComEventTransferRecord(ComEventTransferRecord comEventTransferRecord) {

--
Gitblit v1.7.1