1、impl层的方法添加@Transactional注解2、使用try - catch语句在catch代码块中调用回滚方法
TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();