From 60fd79ac191b3913c91d62e17a75aa7610e9f7af Mon Sep 17 00:00:00 2001 From: wen <1455474577@qq.com> Date: Tue, 28 Sep 2021 13:45:53 +0800 Subject: [PATCH] repair terminal detail bug and add connectorType field to database --- .../src/main/resources/mapper/XhpcTerminalMapper.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/xhpc-modules/xhpc-charging-station/src/main/resources/mapper/XhpcTerminalMapper.xml b/xhpc-modules/xhpc-charging-station/src/main/resources/mapper/XhpcTerminalMapper.xml index fb3b17e0..516c7826 100644 --- a/xhpc-modules/xhpc-charging-station/src/main/resources/mapper/XhpcTerminalMapper.xml +++ b/xhpc-modules/xhpc-charging-station/src/main/resources/mapper/XhpcTerminalMapper.xml @@ -250,7 +250,7 @@ ter.serial_number as serialNumber, ter.gun_status as gunStatus, ter.work_status as workStatus, - ter.status . as status, + ter.status as status, ct.name as chargingStationName, ter.create_time as createTime, cp.serial_number as pileSerialNumber, @@ -264,7 +264,8 @@ cp.max_electric_current as maxElectricCurrent, cp.min_electric_current as minElectricCurrent, cp.communication_operator as communicationOperator, - cp.sim_card as simCard + cp.sim_card as simCard, + ter.connector_type as connectorType from xhpc_terminal as ter left join xhpc_charging_pile as cp on cp.charging_pile_id = ter.charging_pile_id left join xhpc_charging_station as ct on ct.charging_station_id = ter.charging_station_id