家族创建新增事务
This commit is contained in:
parent
22b417206e
commit
61efa5e88f
@ -36,6 +36,7 @@ import java.math.BigDecimal;
|
|||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
import lombok.RequiredArgsConstructor;
|
import lombok.RequiredArgsConstructor;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
@ -61,6 +62,7 @@ public class FamilyCreateExe {
|
|||||||
private final FamilyLevelConfigService familyLevelConfigService;
|
private final FamilyLevelConfigService familyLevelConfigService;
|
||||||
private final ApprovalUserSettingDataService approvalUserSettingDataService;
|
private final ApprovalUserSettingDataService approvalUserSettingDataService;
|
||||||
|
|
||||||
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public Long execute(FamilyCreateCmd cmd) {
|
public Long execute(FamilyCreateCmd cmd) {
|
||||||
|
|
||||||
checkParam(cmd);
|
checkParam(cmd);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user