按之前的处理方式,必定出现这个问题,日志少打点内容

20230922-ljl-fixBug
wangchaoxu 1 year ago
parent 1d79ab88be
commit 7e9dbfaa1f

@ -297,7 +297,7 @@ public class AfterSaleServiceImpl implements AfterSaleService {
}
dataSourceTransactionManager.commit(transactionStatus);
} catch (Exception e) {
log.error("processAfterSale数据操作异常rollback: ", e);
log.error("processAfterSale数据操作异常rollback: ", e.getMessage());
dataSourceTransactionManager.rollback(transactionStatus);
return ApiResult.fail("数据操作异常");
}

Loading…
Cancel
Save