From 0a2b23ad3f30dfb01c5d590fb98f39e93bfe1932 Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期二, 31 十二月 2024 18:35:17 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelServiceImpl.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelServiceImpl.java index a3cf4d3..2932e85 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelServiceImpl.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleModelServiceImpl.java @@ -6,6 +6,7 @@ import com.iailab.framework.common.util.object.BeanUtils; import com.iailab.module.model.mcs.sche.dao.StScheduleModelDao; import com.iailab.module.model.mcs.sche.entity.StScheduleModelEntity; +import com.iailab.module.model.mcs.sche.service.StScheduleModelOutService; import com.iailab.module.model.mcs.sche.service.StScheduleModelParamService; import com.iailab.module.model.mcs.sche.service.StScheduleModelService; import com.iailab.module.model.mcs.sche.service.StScheduleModelSettingService; @@ -36,6 +37,9 @@ @Autowired private StScheduleModelSettingService stScheduleModelSettingService; + @Autowired + private StScheduleModelOutService stScheduleModelOutService; + @Override public PageResult<StScheduleModelEntity> page(StScheduleModelPageReqVO reqVO) { return stScheduleModelDao.selectPage(reqVO); @@ -54,6 +58,7 @@ entity.setId(UUID.randomUUID().toString()); stScheduleModelDao.insert(entity); stScheduleModelParamService.saveList(entity.getId(), reqVO.getParamList()); + stScheduleModelOutService.insertList(reqVO.getModelOut(), entity.getId()); stScheduleModelSettingService.saveList(entity.getId(), reqVO.getSettingList()); } @@ -64,6 +69,8 @@ stScheduleModelDao.updateById(entity); stScheduleModelParamService.saveList(entity.getId(), reqVO.getParamList()); stScheduleModelSettingService.saveList(entity.getId(), reqVO.getSettingList()); + stScheduleModelOutService.deleteScheduleModelOut(entity.getId()); + stScheduleModelOutService.insertList(reqVO.getModelOut(), entity.getId()); } @Override @@ -77,6 +84,7 @@ stScheduleModelDao.deleteById(id); stScheduleModelParamService.deleteByModelId(id); stScheduleModelSettingService.deleteByModelId(id); + stScheduleModelOutService.deleteScheduleModelOut(id); } @Override -- Gitblit v1.9.3