This commit is contained in:
Lemon
2024-01-03 10:42:03 +08:00
parent 946325120d
commit bdbb4d42b0
3 changed files with 6 additions and 4 deletions

View File

@@ -209,6 +209,11 @@ public class CacheConstants {
*/
public static final String MQTT_CONNECT_SN = "MQTT_CONNECT_SN:";
/**
* 江苏省推送桩状态信息
*/
public static final String JIANGSU_PUSH_PILE_STATUS = "JIANGSU_PUSH_PILE_STATUS:";
/**
* 桩硬件故障
*/

View File

@@ -366,7 +366,7 @@ public class UploadRealTimeMonitorHandler extends AbstractHandler {
}
if (StringUtils.equals(ThirdPlatformTypeEnum.JIANG_SU_PLATFORM.getCode(), relationInfo.getThirdPartyType())) {
// 先判断缓存中是否有数据
String redisKey = "JIANGSU_PUSH_PILE_STATUS:" + pileConnectorCode;
String redisKey = CacheConstants.JIANGSU_PUSH_PILE_STATUS + pileConnectorCode;
Object cacheObject = redisCache.getCacheObject(redisKey);
// 江苏省平台(充电状态至少一分钟推送一次)

View File

@@ -35,7 +35,6 @@ public interface ZDLService {
*/
public Map<String, String> queryStationsInfo(QueryStationInfoDTO dto);
/**
* 查询统计信息
* @param dto
@@ -43,7 +42,6 @@ public interface ZDLService {
*/
Map<String, String> queryStationStats(QueryStationInfoDTO dto);
/**
* 设备接口状态查询
* 此接口用于批量查询设备实时状态
@@ -53,7 +51,6 @@ public interface ZDLService {
*/
Map<String, String> queryStationStatus(QueryStationInfoDTO dto);
/**
* 设备状态变化推送
* @param pileConnectorCode