From 730d1944e3a13c517c77df2b0712df05645a38dd Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期一, 06 一月 2025 16:00:58 +0800 Subject: [PATCH] chartParamList api --- 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