ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/TParkingLotController.java
@@ -184,5 +184,11 @@ .eq(TParkingLot::getAppKey, appKey).eq(TParkingLot::getDelFlag, 0)); return R.ok(parkingLot); } @PostMapping(value = "/getSiteIdByOrderId") R<Integer> getSiteIdByOrderId(@RequestParam("id") Long id){ TParkingRecord byId = parkingRecordService.getById(id); TParkingLot parkingLot = parkingLotService.getById(byId.getParkingLotId()); return R.ok(parkingLot.getId()); } }