You've already forked FrameTour-BE
分账小改动,订单列表优化速度
This commit is contained in:
@ -236,7 +236,7 @@ public class OrderBiz {
|
||||
}
|
||||
});
|
||||
orderRepository.clearOrderCache(orderId); // 更新完了,清理下
|
||||
profitSharingBiz.revokeProfitSharing(order.getScenicId(), orderId);
|
||||
profitSharingBiz.revokeProfitSharing(order.getScenicId(), orderId, "订单被取消");
|
||||
}
|
||||
|
||||
public void refundOrder(Long orderId) {
|
||||
@ -258,6 +258,6 @@ public class OrderBiz {
|
||||
}
|
||||
});
|
||||
orderRepository.clearOrderCache(orderId); // 更新完了,清理下
|
||||
profitSharingBiz.revokeProfitSharing(order.getScenicId(), orderId);
|
||||
profitSharingBiz.revokeProfitSharing(order.getScenicId(), orderId, "订单已退款");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user