Spring Boot事物手动回滚

在Dao层的方法上添加 @Transactional 当要回滚时在代码中添加 TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();web
相关文章
相关标签/搜索