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/resources/mapper/mcs/MmPredictModelDao.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictModelDao.xml b/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictModelDao.xml index dca5639..72b6df9 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictModelDao.xml +++ b/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictModelDao.xml @@ -3,7 +3,7 @@ <mapper namespace="com.iailab.module.model.mcs.pre.dao.MmPredictModelDao"> - <select id="getActiveModelByItemId" resultMap="com.iailab.module.model.mcs.pre.entity.MmPredictModelEntity"> + <select id="getActiveModelByItemId" resultType="com.iailab.module.model.mcs.pre.entity.MmPredictModelEntity"> SELECT t.* FROM @@ -13,7 +13,7 @@ </select> - <select id="getSampleLength" resultMap="com.iailab.module.model.mcs.pre.entity.MmPredictModelEntity"> + <select id="getSampleLength" resultType="com.iailab.module.model.mcs.pre.entity.MmPredictModelEntity"> SELECT t.predictsamplength FROM -- Gitblit v1.9.3