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/MmItemOutputService.java | 9 +++------ 1 files changed, 3 insertions(+), 6 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/MmItemOutputService.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/MmItemOutputService.java index dd45baa..c006793 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/MmItemOutputService.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/service/MmItemOutputService.java @@ -2,7 +2,6 @@ import com.iailab.module.model.mcs.pre.dto.MmItemOutputDTO; import com.iailab.module.model.mcs.pre.entity.MmItemOutputEntity; -import com.iailab.module.model.mdk.vo.MmItemOutputVO; import java.util.List; import java.util.Map; @@ -19,13 +18,11 @@ List<MmItemOutputDTO> queryList(Map<String, Object> params); - MmItemOutputVO getOutPutById(String outputid); + MmItemOutputEntity getOutPutById(String outputid); - List<MmItemOutputVO> getOutPutByItemId(String itemid); + List<MmItemOutputEntity> getByItemid(String itemId); - List<MmItemOutputVO> getOutPutByPointId(String pointid); - - List<MmItemOutputEntity> getByItemid(String itemid); + MmItemOutputEntity getByItemid(String itemid, String resultstr, String resultIndex); void deleteByItemId(String itemId); } -- Gitblit v1.9.3