update 电单车协议

This commit is contained in:
Guoqs
2024-09-20 09:22:15 +08:00
parent d08ee877f6
commit 249a5ac832
4 changed files with 13 additions and 8 deletions

View File

@@ -179,9 +179,11 @@ public class PileRemoteService {
String chargePortType = pileDetailVO.getChargePortType();
if (StringUtils.equals(chargePortType, Constants.THREE)) {
// 发送电动自行车桩停止充电指令
log.info("发送电单车桩停止充电指令, chargePortType:{}", chargePortType);
eBikeSendCommandService.sendStopChargingCommand(command);
} else {
// 发送电动汽车桩停止充电指令
log.info("发送汽车桩停止充电指令, chargePortType:{}", chargePortType);
ykcPushCommandService.pushStopChargingCommand(command);
}
log.info("remoteStopCharging success, pileConnectorCode:{}, transactionCode:{}", pileSn + connectorCode, transactionCode);

View File

@@ -58,11 +58,6 @@ public class PileDetailVO {
*/
private String merchantId;
/**
* 设备类型(1-快充2-慢充3-电单车)
*/
private String pileType;
/**
* 枪数量
*/

View File

@@ -435,7 +435,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
t1.sim_id AS simId,
t5.iccid AS iccid ,
t5.sim_supplier as simSupplier,
IF(t4.charger_pile_type = '2','3',(IF(t4.speed_type = '1','1','2'))) AS pileType,
IF(t4.charger_pile_type = '2','3',(IF(t4.speed_type = '1','1','2'))) AS chargePortType,
t5.operator
FROM
pile_basic_info t1