From 87fb7c7042edd33475260e6e501982da8fa5f6e0 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期三, 26 三月 2025 15:31:09 +0800 Subject: [PATCH] 修改统计bug和部分功能修改 --- ruoyi-api/ruoyi-api-order/src/main/java/com/ruoyi/order/factory/OrderClientFallbackFactory.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/ruoyi-api/ruoyi-api-order/src/main/java/com/ruoyi/order/factory/OrderClientFallbackFactory.java b/ruoyi-api/ruoyi-api-order/src/main/java/com/ruoyi/order/factory/OrderClientFallbackFactory.java index 683c4c5..9cffd40 100644 --- a/ruoyi-api/ruoyi-api-order/src/main/java/com/ruoyi/order/factory/OrderClientFallbackFactory.java +++ b/ruoyi-api/ruoyi-api-order/src/main/java/com/ruoyi/order/factory/OrderClientFallbackFactory.java @@ -40,6 +40,11 @@ } @Override + public R<List<Order>> getRedeemedOrdersByShop(Integer shopId) { + return R.fail("获取已核销的订单失败:" + cause.getMessage()); + } + + @Override public R<Order> getOrderById(Long id) { return R.fail("根据id获取订单详情失败:" + cause.getMessage()); } @@ -54,6 +59,11 @@ public R<Long> getOrderCountByAppUserId(Long appUserId) { return R.fail("获取用户订单数量失败:" + cause.getMessage()); } + + @Override + public R<List<Order>> getOrderByAppUserIdsAndWriteOffShop(Integer shopId, Set<Long> appUserId) { + return R.fail("查询给定用户在给定门店核销的订单失败:" + cause.getMessage()); + } }; } } -- Gitblit v1.7.1