报错:
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.transaction.TransactionManager'
重写方法即可
service层
/** * 批量保存 * * @param baseChapterList * @return */ boolean saveBatch(List<BaseChapter> baseChapterList);
impl:
@Override @GlobalTransactional(rollbackFor = Exception.class) public boolean saveBatch(List<BaseChapter> baseChapterList) { return super.saveBatch(baseChapterList); }
标签:return,seata,saveBatch,boolean,baseChapterList,管理器 From: https://www.cnblogs.com/p201821460026/p/17565930.html