From f853b02cb7b265379eceb2f0e3c38f9d63bb1b21 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 06 一月 2025 17:55:25 +0800
Subject: [PATCH] 执行调度模型 默认时间

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/FileGroupServiceImpl.java |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/FileGroupServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/FileGroupServiceImpl.java
index 4d9045f..fe639d5 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/FileGroupServiceImpl.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/impl/FileGroupServiceImpl.java
@@ -11,6 +11,7 @@
 
 import javax.annotation.Resource;
 import java.util.List;
+import java.util.UUID;
 
 /**
  * @author PanZhibao
@@ -38,13 +39,14 @@
     }
 
     @Override
-    public void create(FileGroupEntity fileMenuEntity) {
-        fileGroupDao.insert(fileMenuEntity);
+    public void create(FileGroupEntity entity) {
+        entity.setId(UUID.randomUUID().toString());
+        fileGroupDao.insert(entity);
     }
 
     @Override
-    public void update(FileGroupEntity fileMenuEntity) {
-        fileGroupDao.updateById(fileMenuEntity);
+    public void update(FileGroupEntity entity) {
+        fileGroupDao.updateById(entity);
     }
 
     @Override

--
Gitblit v1.9.3