From 9062e233782431653f4423326cf1cf4e7789d317 Mon Sep 17 00:00:00 2001
From: Pu Zhibing <393733352@qq.com>
Date: 星期四, 27 二月 2025 16:19:10 +0800
Subject: [PATCH] 修改bug
---
ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/feignClient/ParkingLotClient.java | 30 +++++++++++++++++++++++++-----
1 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/feignClient/ParkingLotClient.java b/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/feignClient/ParkingLotClient.java
index bc3338a..14dbd39 100644
--- a/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/feignClient/ParkingLotClient.java
+++ b/ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/feignClient/ParkingLotClient.java
@@ -27,12 +27,32 @@
* 通过站点id查询停车场信息
*/
@PostMapping(value = "/t-parking-lot/getLotBySiteId")
- public R<TParkingLot> getLotBySiteId(@RequestParam("siteId") Integer siteId);
+ R<TParkingLot> getLotBySiteId(@RequestParam("siteId") Integer siteId);
+
+ /**
+ * 获取所有停车场数据
+ */
+ @PostMapping(value = "/t-parking-lot/getAllParkingLot")
+ R<List<TParkingLot>> getAllParkingLot();
+
+
- @PostMapping(value = "/t-parking-lot/getRecordById")
- public R<TParkingRecord> getRecordById(@RequestParam("id") Long siteId);
+ @GetMapping(value = "/t-parking-lot/getRecordById")
+ R<TParkingRecord> getRecordById(@RequestParam("id") Long siteId);
@PostMapping(value = "/t-parking-lot/getRecordAmount")
- public R<BigDecimal> getRecordAmount(@RequestParam("sixBefore") LocalDate sixBefore);
-
+ R<BigDecimal> getRecordAmount(@RequestParam("sixBefore") LocalDate sixBefore);
+
+
+ /**
+ * 根据停车场标识查询停车场
+ * @param appKey
+ * @return
+ */
+ @PostMapping(value = "/t-parking-lot/getParkingLotByAppKey")
+ R<TParkingLot> getParkingLotByAppKey(@RequestParam("appKey") String appKey);
+ @PostMapping(value = "/t-parking-lot/getSiteIdByOrderId")
+ R<Integer> getSiteIdByOrderId(@RequestParam("id") Long id);
+ @PostMapping(value = "/t-parking-lot/getSiteIdAll")
+ R<List<TParkingRecord>> getSiteIdAll();
}
--
Gitblit v1.7.1