From 05600d089901d44e8d5036046025b6a90ceb896a Mon Sep 17 00:00:00 2001
From: heheng <heheng@123456>
Date: 星期二, 03 十二月 2024 16:57:20 +0800
Subject: [PATCH] 修改及增加功能

---
 expert-system/src/main/java/com/gkhy/system/service/impl/ProjectFileServiceImpl.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/expert-system/src/main/java/com/gkhy/system/service/impl/ProjectFileServiceImpl.java b/expert-system/src/main/java/com/gkhy/system/service/impl/ProjectFileServiceImpl.java
index 9f7e14b..6e56033 100644
--- a/expert-system/src/main/java/com/gkhy/system/service/impl/ProjectFileServiceImpl.java
+++ b/expert-system/src/main/java/com/gkhy/system/service/impl/ProjectFileServiceImpl.java
@@ -6,6 +6,7 @@
 import com.gkhy.system.service.IProjectFileService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
 
 import java.util.List;
 
@@ -22,6 +23,7 @@
 
 
     @Override
+    @Transactional
     public Boolean saveBatchProjectFile(List<ProjectFile> projectFile) {
         return saveBatch(projectFile);
     }

--
Gitblit v1.9.2