From 90a1495b9d765c9e1d48f689dbcf977cbdb2768e Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期二, 31 十二月 2024 17:23:13 +0800 Subject: [PATCH] 模型结果修改为存在唯一索引则修改,不存在插入。避免死锁问题 --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/MmModelArithSettingsService.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/MmModelArithSettingsService.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/MmModelArithSettingsService.java index ea9734b..dff36f4 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/MmModelArithSettingsService.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/MmModelArithSettingsService.java @@ -1,6 +1,5 @@ package com.iailab.module.model.mcs.pre.service; -import com.iailab.framework.common.service.BaseService; import com.iailab.module.model.mcs.pre.entity.MmModelArithSettingsEntity; import java.util.List; @@ -9,9 +8,11 @@ * @author PanZhibao * @date 2021年04月27日 9:06 */ -public interface MmModelArithSettingsService extends BaseService<MmModelArithSettingsEntity> { +public interface MmModelArithSettingsService{ void saveList(List<MmModelArithSettingsEntity> list); List<MmModelArithSettingsEntity> getByModelId(String modelId); + + void updatePyFile(String pyModule, String fileName); } -- Gitblit v1.9.3