From 61efa5e88f9e4f2d95bd59ece0630baa873679ea Mon Sep 17 00:00:00 2001 From: tianfeng <769204422@qq.com> Date: Tue, 23 Dec 2025 14:57:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=B6=E6=97=8F=E5=88=9B=E5=BB=BA=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E4=BA=8B=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../red/circle/other/app/command/family/FamilyCreateExe.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyCreateExe.java b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyCreateExe.java index 47927c93..6faec7c0 100644 --- a/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyCreateExe.java +++ b/rc-service/rc-service-other/other-application/src/main/java/com/red/circle/other/app/command/family/FamilyCreateExe.java @@ -36,6 +36,7 @@ import java.math.BigDecimal; import java.util.Objects; import lombok.RequiredArgsConstructor; import org.springframework.stereotype.Component; +import org.springframework.transaction.annotation.Transactional; /** *
@@ -61,6 +62,7 @@ public class FamilyCreateExe { private final FamilyLevelConfigService familyLevelConfigService; private final ApprovalUserSettingDataService approvalUserSettingDataService; + @Transactional(rollbackFor = Exception.class) public Long execute(FamilyCreateCmd cmd) { checkParam(cmd);