分账小改动,订单列表优化速度

This commit is contained in:
2025-02-21 17:09:14 +08:00
parent b51b3260c7
commit 1c6e3e3cd3
6 changed files with 39 additions and 8 deletions

View File

@ -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, "订单已退款");
}
}