新增 宁夏交投Service

This commit is contained in:
Lemon
2024-07-12 10:32:45 +08:00
parent 60dbf7e536
commit a731ecf701
2 changed files with 30 additions and 0 deletions

View File

@@ -284,6 +284,11 @@ public class JiangSuPlatformServiceImpl implements ThirdPartyPlatformService {
return resultMap;
}
/**
* 推送告警信息
* @param dto
* @return
*/
@Override
public String notificationAlarmInfo(PushAlarmInfoDTO dto) {
List<NRAlarmInfo> nrAlarmInfos = new ArrayList<>();

View File

@@ -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);
}
}