From 98663c5c0d75130f0d86c831f0ad54ebf45251ea Mon Sep 17 00:00:00 2001 From: huangzj <826100833@qq.com> Date: Tue, 18 Apr 2023 15:16:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../algorithm/service/impl/CsDataEffectiveServiceImpl.java | 1 + .../algorithm/service/impl/CsDevModelRelationServiceImpl.java | 3 +++ 2 files changed, 4 insertions(+) diff --git a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDataEffectiveServiceImpl.java b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDataEffectiveServiceImpl.java index 33c5ccbe7..b5b9c73bb 100644 --- a/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDataEffectiveServiceImpl.java +++ b/pqs-algorithm/algorithm-boot/src/main/java/com/njcn/algorithm/service/impl/CsDataEffectiveServiceImpl.java @@ -65,6 +65,7 @@ public class CsDataEffectiveServiceImpl extends ServiceImpl implements CsDevModelRelationService{ @Override + @Transactional(rollbackFor = Exception.class) public CsDevModelRelationPO addDevModelRelation(CsDevModelRelationAddParm addParm) { CsDevModelRelationQueryParm queryParm = new CsDevModelRelationQueryParm(); queryParm.setDevId (addParm.getDevId ()); @@ -49,6 +51,7 @@ public class CsDevModelRelationServiceImpl extends ServiceImpl