add 联联平台 推送订单信息接口

This commit is contained in:
Lemon
2023-05-17 17:25:35 +08:00
parent 2bace785c1
commit 37ddfc0593
11 changed files with 258 additions and 70 deletions

View File

@@ -91,8 +91,6 @@ public interface IPileConnectorInfoService {
*/
int updateConnectorStatus(String connectorCode, String status);
String pushConnectorStatus(String pileConnectorCode, String status);
/**
* 通过桩编号修改枪口状态
* 仅用于登录逻辑使用

View File

@@ -715,6 +715,10 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
} catch (Exception e) {
logger.error("redis中取出实时记录保存到表 发生异常", e);
}
// TODO 推送停止充电结果 notification_stop_charge_result
}
/**

View File

@@ -439,11 +439,6 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService {
return response;
}
@Override
public String pushConnectorStatus(String pileConnectorCode, String status) {
return null;
}
/**
* 查询充电枪口的实时数据
*/
@@ -533,7 +528,7 @@ public class PileConnectorInfoServiceImpl implements IPileConnectorInfoService {
deleteRedisByPileSn(pileSn);
redisCache.setCacheObject(redisKey, status);
// 推送联联平台 设备状态变化推送接口 ConnectorStatusInfo
// TODO 推送联联平台 设备状态变化推送接口 ConnectorStatusInfo
}
return num;