订单模块被事务注解 @Transactional 的方法不能生效 BUG
apetoo opened this issue · comments
com.gpmall.order.services.OrderCoreServiceImpl#deleteOrderWithTransaction
被 @transactional 标注的方法 必须由spring去调用才会生效
比如如下方法才会生效事务
@Autowired OrderCoreService orderCoreService
orderCoreService.deleteOrderWithTransaction();