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/ProjectService.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/ProjectService.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/ProjectService.java
index aba997f..65d2312 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/ProjectService.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mpk/service/ProjectService.java
@@ -1,6 +1,7 @@
 package com.iailab.module.model.mpk.service;
 
 import com.iailab.framework.common.page.PageData;
+import com.iailab.framework.common.service.BaseService;
 import com.iailab.framework.common.service.CrudService;
 import com.iailab.module.model.mpk.dto.MpkFileDTO;
 import com.iailab.module.model.mpk.dto.ProjectDTO;
@@ -14,7 +15,7 @@
  * @author: dzd
  * @date: 2024/8/22 14:41
  **/
-public interface ProjectService extends CrudService<ProjectEntity, ProjectDTO> {
+public interface ProjectService extends BaseService<ProjectEntity> {
     PageData<ProjectDTO> page(Map<String, Object> params);
 
     List<ProjectDTO> list(Map<String, Object> params);

--
Gitblit v1.9.3