From 0d4c9f50ee2bc3e4a03abd91ac7c9e03891d37f2 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期四, 20 二月 2025 17:41:19 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/mx_charging_pile --- ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/feignClient/ParkingLotClient.java | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 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 2751195..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,13 +27,21 @@ * 通过站点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(); + + @GetMapping(value = "/t-parking-lot/getRecordById") - public R<TParkingRecord> getRecordById(@RequestParam("id") Long siteId); + 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); /** @@ -43,4 +51,8 @@ */ @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