From 7a4f9541331bef779a506b38a27ed5c3373c0bec Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期四, 15 五月 2025 13:53:22 +0800 Subject: [PATCH] 开发二级等保功能及心跳消息队列修改 --- ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/TChargingOrderService.java | 56 +++++++++++++++++++++++++++++++++++++++----------------- 1 files changed, 39 insertions(+), 17 deletions(-) diff --git a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/TChargingOrderService.java b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/TChargingOrderService.java index 61f43bf..3e72100 100644 --- a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/TChargingOrderService.java +++ b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/TChargingOrderService.java @@ -20,6 +20,7 @@ import java.math.BigDecimal; import java.time.LocalDate; +import java.time.LocalDateTime; import java.util.List; import java.util.Map; @@ -100,8 +101,17 @@ * @return */ AjaxResult chargingOrderStartupFailureWxRefund(String out_refund_no, String refund_id, String tradeState, String success_time); - - + + + /** + * 启动失败退款操作 + * @param code + */ + void refund(String code); + + + + void refund1(String code, BigDecimal money); /** * 获取充电中的详情 @@ -139,17 +149,17 @@ List<SixCircleDto> circle(List<Integer> siteIds,LocalDate sixBefore); - Map<String, Object> countAll(LocalDate sixBefore,List<Integer> siteIds); + Map<String, Object> countAll(List<Integer> siteIds); - List<Map<String, Object>> getSumByType(List<Long> chargingOrderIds); + List<Map<String, Object>> getSumByType(LocalDate start,LocalDate end,List<Integer> siteIds); - List<Map<String, Object>> getDateData(List<Long> chargingOrderIds); + List<Map<String, Object>> getDateData(LocalDate start,LocalDate end,List<Integer> siteIds); - List<Map<String, Object>> getWeekData(List<Long> chargingOrderIds); + List<Map<String, Object>> getWeekData(LocalDate start,LocalDate end,List<Integer> siteIds); - List<Map<String, Object>> getMonthData(List<Long> chargingOrderIds); + List<Map<String, Object>> getMonthData(LocalDate start,LocalDate end,List<Integer> siteIds); - List<Map<String, Object>> getYearData(List<Long> chargingOrderIds); + List<Map<String, Object>> getYearData(LocalDate start,LocalDate end,List<Integer> siteIds); ChargingOrderTimeVO chargingList(ChargingListQuery dto); @@ -175,13 +185,7 @@ * 停止充电返回账单后计算费用 * @param vo */ - void endChargeBillingCharge(TransactionRecordMessageVO vo); - -// /** -// * 停止充电返回账单后计算费用 -// * @param vo -// */ -// void endChargeBillingCharge1(TransactionRecordMessageVO vo); + R endChargeBillingCharge(TransactionRecordMessageVO vo); @@ -191,13 +195,12 @@ */ void excelEndCharge(String orderCode); - List<Map<String, Object>> getByDate(List<Long> chargingOrderIds); + List<Map<String, Object>> getByDate(LocalDate start,LocalDate end, List<Integer> siteIds); List<Map<String, Object>> queryPower(List<Integer> siteIds); Map<String, Object> qureryPowerLevel(List<Integer> siteIds, ChargingStatisticsQueryDto statisticsQueryDto); - List<Map<String, Object>> queryOrderCountAndMoneyBySiteIdDate(List<Integer> siteIds); List<Map<String, Object>> usersDay(ChargingStatisticsQueryDto statisticsQueryDto); List<Map<String, Object>> usersDay1(); @@ -300,4 +303,23 @@ * @return */ R tripartitePlatformStopCharge(@RequestParam("startChargeSeq") String startChargeSeq); + + + /** + * 获取充电后没有扣除费用的数据 + * @return + */ + R getNotPaymentChargingOrder(); + + + /** + * + * 手动推送订单给第三方平台 + * @param code + * @return + */ + R pushOrderInfo(String code); + + + R addChargingOrderSummaryData(); } -- Gitblit v1.7.1