方法上加注解@Transactional(rollbackFor = { Exception.class })手动回滚事物try{ xxxMapper.saveXXX(saveXXX); if(true){ throw new Exception("保存xxx失败" ...
確定! 回上一頁