浏览代码

fix ChargeBoxId not found station

Robert 1 年之前
父节点
当前提交
0ecc04921c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      EVCB_OCPP.WEBAPI/Services/Integration/ChargingStationService.cs

+ 1 - 1
EVCB_OCPP.WEBAPI/Services/Integration/ChargingStationService.cs

@@ -170,7 +170,7 @@ namespace EVCB_OCPP.WEBAPI.Services.Integration
                     FROM [dbo].[Station] station
                     WHERE Id IN ( 
                         SELECT StationId
-                        FROM[dbo].[Machine],[dbo].[StationMachine]
+                        FROM [dbo].[StationMachine]
                         WHERE StationMachine.MachineId= @MachineId
                         );
                     """;