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/mpk/service/MethodSettingService.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/MethodSettingService.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/MethodSettingService.java
index cce6830..01dfe08 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/MethodSettingService.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/MethodSettingService.java
@@ -1,9 +1,10 @@
 package com.iailab.module.model.mpk.service;
 
 import com.iailab.framework.common.service.BaseService;
+import com.iailab.module.model.mpk.dto.MethodSettingDTO;
 import com.iailab.module.model.mpk.entity.MethodSettingEntity;
 
-import java.util.Map;
+import java.util.List;
 
 /**
  * @description:
@@ -11,4 +12,6 @@
  * @date: 2024/9/14 15:10
  **/
 public interface MethodSettingService extends BaseService<MethodSettingEntity> {
+
+    void insertList(List<MethodSettingDTO> list, String MethodId);
 }
\ No newline at end of file

--
Gitblit v1.9.3