mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-04 22:18:02 +08:00
新增 宁夏交投Service
This commit is contained in:
@@ -284,6 +284,11 @@ public class JiangSuPlatformServiceImpl implements ThirdPartyPlatformService {
|
|||||||
return resultMap;
|
return resultMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 推送告警信息
|
||||||
|
* @param dto
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String notificationAlarmInfo(PushAlarmInfoDTO dto) {
|
public String notificationAlarmInfo(PushAlarmInfoDTO dto) {
|
||||||
List<NRAlarmInfo> nrAlarmInfos = new ArrayList<>();
|
List<NRAlarmInfo> nrAlarmInfos = new ArrayList<>();
|
||||||
|
|||||||
@@ -0,0 +1,25 @@
|
|||||||
|
package com.jsowell.thirdparty.platform.service.impl;
|
||||||
|
|
||||||
|
import com.jsowell.common.enums.thirdparty.ThirdPlatformTypeEnum;
|
||||||
|
import com.jsowell.thirdparty.platform.factory.ThirdPartyPlatformFactory;
|
||||||
|
import com.jsowell.thirdparty.platform.service.ThirdPartyPlatformService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 宁夏交投平台
|
||||||
|
*
|
||||||
|
* @author Lemon
|
||||||
|
* @Date 2024/7/11 14:15:50
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class NingXiaJiaoTouPlatformServiceImpl implements ThirdPartyPlatformService {
|
||||||
|
// 平台类型
|
||||||
|
private final String thirdPlatformType = ThirdPlatformTypeEnum.NING_XIA_JIAO_TOU.getTypeCode();
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void afterPropertiesSet() throws Exception {
|
||||||
|
ThirdPartyPlatformFactory.register(thirdPlatformType, this);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user