From d9b88d6eeb378c0291f465862fc76ab6a5f46c8a Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期六, 02 十一月 2024 09:04:15 +0800
Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/mx_charging_pile

---
 ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/TVehicleRampController.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/TVehicleRampController.java b/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/TVehicleRampController.java
index c15b6af..dfe127a 100644
--- a/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/TVehicleRampController.java
+++ b/ruoyi-service/ruoyi-chargingPile/src/main/java/com/ruoyi/chargingPile/controller/TVehicleRampController.java
@@ -113,7 +113,7 @@
         TVehicleRamp vehicleRamp = vehicleRampService.getById(dto.getId());
         TParkingLot parkingLot = parkingLotService.getById(vehicleRamp.getParkingLotId());
         SwitchwayGateReq req = new SwitchwayGateReq();
-        req.setAction(vehicleRamp.getAction());
+        req.setAction(dto.getAction());
         req.setChannel(vehicleRamp.getCarportNum());
         req.setAppkey(parkingLot.getAppKey());
         req.setSecretkey(parkingLot.getSecretKey());

--
Gitblit v1.7.1