From b2bb7d1ff5639dd844e84b881a515eca30625411 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期四, 02 一月 2025 13:40:43 +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