From fc555f5d9d49f9922a6f5688d4db7c2679f3252c Mon Sep 17 00:00:00 2001
From: 无关风月 <443237572@qq.com>
Date: 星期四, 17 七月 2025 18:53:47 +0800
Subject: [PATCH] 政务云数据上传bug修改
---
ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/GovernmentCloudOrderController.java | 199 +++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 199 insertions(+), 0 deletions(-)
diff --git a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/GovernmentCloudOrderController.java b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/GovernmentCloudOrderController.java
index c9e79f1..aa5f370 100644
--- a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/GovernmentCloudOrderController.java
+++ b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/GovernmentCloudOrderController.java
@@ -149,6 +149,205 @@
governmentCloudAccountVO.setVipOrderRefunds(list16);
return R.ok(governmentCloudAccountVO);
}
+ @PostMapping("/listAll1")
+ R<GovernmentCloudOrderVO> listAll1() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<AccountingStrategyDetailOrder> list1 = accountingStrategyDetailOrderService.lambdaQuery()
+ .ge(AccountingStrategyDetailOrder::getCreateTime,start)
+ .le(AccountingStrategyDetailOrder::getCreateTime,end)
+ .list();
+ governmentCloudAccountVO.setAccountingStrategyDetailOrders(list1);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll2")
+ R<GovernmentCloudOrderVO> listAll2() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<AccountingStrategyOrder> list2 = accountingStrategyOrderService.lambdaQuery()
+ .ge(AccountingStrategyOrder::getCreateTime,start)
+ .le(AccountingStrategyOrder::getCreateTime,end) .list();
+ governmentCloudAccountVO.setAccountingStrategyOrders(list2);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll3")
+ R<GovernmentCloudOrderVO> listAll3() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TChargingBill> list3 = chargingBillService.lambdaQuery()
+ .ge(TChargingBill::getCreateTime,start)
+ .le(TChargingBill::getCreateTime,end) .list();
+ governmentCloudAccountVO.setChargingBills(list3);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll4")
+ R<GovernmentCloudOrderVO> listAll4() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TChargingOrderAccountingStrategy> list4 = chargingOrderAccountingStrategyService.lambdaQuery()
+ .ge(TChargingOrderAccountingStrategy::getCreateTime,start)
+ .le(TChargingOrderAccountingStrategy::getCreateTime,end) .list();
+ governmentCloudAccountVO.setChargingOrderAccountingStrategies(list4);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll5")
+ R<GovernmentCloudOrderVO> listAll5() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TChargingOrderRefund> list5 = chargingOrderRefundService.lambdaQuery()
+ .ge(TChargingOrderRefund::getCreateTime,start)
+ .le(TChargingOrderRefund::getCreateTime,end) .list();
+ governmentCloudAccountVO.setChargingOrderRefunds(list5);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll6")
+ R<GovernmentCloudOrderVO> listAll6() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TChargingOrder> list6 = chargingOrderService.lambdaQuery()
+ .ge(TChargingOrder::getCreateTime,start)
+ .le(TChargingOrder::getCreateTime,end) .list();
+ governmentCloudAccountVO.setChargingOrders(list6);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll7")
+ R<GovernmentCloudOrderVO> listAll7() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TExchangeOrder> list7 = exchangeOrderService.lambdaQuery()
+ .ge(TExchangeOrder::getCreateTime,start)
+ .le(TExchangeOrder::getCreateTime,end) .list();
+ governmentCloudAccountVO.setExchangeOrders(list7);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll8")
+ R<GovernmentCloudOrderVO> listAll8() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TGrantVip> list8 = grantVipService.lambdaQuery()
+ .ge(TGrantVip::getCreateTime,start)
+ .le(TGrantVip::getCreateTime,end) .list();
+ governmentCloudAccountVO.setGrantVips(list8);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll9")
+ R<GovernmentCloudOrderVO> listAll9() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TOrderAppeal> list9 = orderAppealService.lambdaQuery()
+ .ge(TOrderAppeal::getCreateTime,start)
+ .le(TOrderAppeal::getCreateTime,end) .list();
+ governmentCloudAccountVO.setOrderAppeals(list9);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll10")
+ R<GovernmentCloudOrderVO> listAll10() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TOrderEvaluate> list10 = orderEvaluateService.lambdaQuery()
+ .ge(TOrderEvaluate::getCreateTime,start)
+ .le(TOrderEvaluate::getCreateTime,end) .list();
+ governmentCloudAccountVO.setOrderEvaluates(list10);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll11")
+ R<GovernmentCloudOrderVO> listAll11() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TOrderEvaluateTag> list11 = orderEvaluateTagService.lambdaQuery()
+ .ge(TOrderEvaluateTag::getCreateTime,start)
+ .le(TOrderEvaluateTag::getCreateTime,end) .list();
+ governmentCloudAccountVO.setOrderEvaluateTags(list11);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll12")
+ R<GovernmentCloudOrderVO> listAll12() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TOrderInvoiceDetail> list12 = orderInvoiceDetailService.lambdaQuery()
+ .ge(TOrderInvoiceDetail::getCreateTime,start)
+ .le(TOrderInvoiceDetail::getCreateTime,end) .list();
+ governmentCloudAccountVO.setOrderInvoiceDetails(list12);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll13")
+ R<GovernmentCloudOrderVO> listAll13() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TOrderInvoice> list13 = orderInvoiceService.lambdaQuery()
+ .ge(TOrderInvoice::getCreateTime,start)
+ .le(TOrderInvoice::getCreateTime,end) .list();
+ governmentCloudAccountVO.setOrderInvoices(list13);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll14")
+ R<GovernmentCloudOrderVO> listAll14() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TSettlementConfirm> list14 = settlementConfirmService.lambdaQuery()
+ .ge(TSettlementConfirm::getCreateTime,start)
+ .le(TSettlementConfirm::getCreateTime,end) .list();
+ governmentCloudAccountVO.setSettlementConfirms(list14);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll15")
+ R<GovernmentCloudOrderVO> listAll15() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TShoppingOrderRefund> list15 = shoppingOrderRefundService.lambdaQuery()
+ .ge(TShoppingOrderRefund::getCreateTime,start)
+ .le(TShoppingOrderRefund::getCreateTime,end) .list();
+ governmentCloudAccountVO.setShoppingOrderRefunds(list15);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll16")
+ R<GovernmentCloudOrderVO> listAll16() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TVipOrderRefund> list16 = vipOrderRefundService.lambdaQuery()
+ .ge(TVipOrderRefund::getCreateTime,start)
+ .le(TVipOrderRefund::getCreateTime,end) .list();
+ governmentCloudAccountVO.setVipOrderRefunds(list16);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll17")
+ R<GovernmentCloudOrderVO> listAll17() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TVipOrder> list17 = vipOrderService.lambdaQuery()
+ .ge(TVipOrder::getCreateTime,start)
+ .le(TVipOrder::getCreateTime,end) .list();
+ governmentCloudAccountVO.setVipOrders(list17);
+ return R.ok(governmentCloudAccountVO);
+ }
+ @PostMapping("/listAll18")
+ R<GovernmentCloudOrderVO> listAll18() {
+ String start = LocalDate.now().minusDays(1)+" 00:00:00";
+ String end = LocalDate.now().minusDays(1)+" 23:59:59";
+ GovernmentCloudOrderVO governmentCloudAccountVO = new GovernmentCloudOrderVO();
+ List<TShoppingOrder> list18 = shoppingOrderService.lambdaQuery()
+ .ge(TShoppingOrder::getCreateTime,start)
+ .le(TShoppingOrder::getCreateTime,end) .list();
+ governmentCloudAccountVO.setShoppingOrders(list18);
+ return R.ok(governmentCloudAccountVO);
+ }
}
--
Gitblit v1.7.1