From dee188dc7e08f64cbe0f84cf7a44efd95b5964a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A3=B7=E5=8F=B6?= <14103883+leaf-phos@user.noreply.gitee.com> Date: Sat, 4 Jan 2025 20:40:58 +0800 Subject: [PATCH] =?UTF-8?q?debug:=E5=BA=97=E9=93=BA=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/ss/store/service/impl/StoreAssemblerImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/smart-switch-service/src/main/java/com/ruoyi/ss/store/service/impl/StoreAssemblerImpl.java b/smart-switch-service/src/main/java/com/ruoyi/ss/store/service/impl/StoreAssemblerImpl.java index ed5f3675..5b266178 100644 --- a/smart-switch-service/src/main/java/com/ruoyi/ss/store/service/impl/StoreAssemblerImpl.java +++ b/smart-switch-service/src/main/java/com/ruoyi/ss/store/service/impl/StoreAssemblerImpl.java @@ -99,7 +99,7 @@ public class StoreAssemblerImpl implements StoreAssembler { LocalDate now = LocalDate.now(); query.setGroupBy(TransactionBillGroupBy.store_id.name()); query.setStoreIds(list.stream().map(StoreVo::getStoreId).filter(Objects::nonNull).distinct().collect(Collectors.toList())); - query.setStatus(TransactionBillStatus.SUCCESS.getStatus()); + query.setStatusList(TransactionBillStatus.payedOrder()); query.setType(TransactionBillType.RECHARGE.getType()); query.setMonth(now.getMonthValue()); query.setYear(now.getYear()); @@ -129,7 +129,7 @@ public class StoreAssemblerImpl implements StoreAssembler { TransactionBillQuery query = new TransactionBillQuery(); query.setGroupBy(TransactionBillGroupBy.store_id.name()); query.setStoreIds(list.stream().map(StoreVo::getStoreId).filter(Objects::nonNull).distinct().collect(Collectors.toList())); - query.setStatus(TransactionBillStatus.SUCCESS.getStatus()); + query.setStatusList(TransactionBillStatus.payedOrder()); query.setType(TransactionBillType.RECHARGE.getType()); query.setCreateDate(DateUtils.getNowDate()); Map map = transactionBillService.selectCountMap(query, BillCountVo::getStoreId); @@ -158,7 +158,7 @@ public class StoreAssemblerImpl implements StoreAssembler { LocalDate lastMonth = LocalDate.now().plusMonths(-1); query.setGroupBy(TransactionBillGroupBy.store_id.name()); query.setStoreIds(list.stream().map(StoreVo::getStoreId).filter(Objects::nonNull).distinct().collect(Collectors.toList())); - query.setStatus(TransactionBillStatus.SUCCESS.getStatus()); + query.setStatusList(TransactionBillStatus.payedOrder()); query.setType(TransactionBillType.RECHARGE.getType()); query.setMonth(lastMonth.getMonthValue()); query.setYear(lastMonth.getYear());