refactor(notification): 重构事件通知服务并集成消息发送功能
- 移除原有的 AppNotificationService 服务类,将其功能迁移至系统服务 - 在 CsAlarmServiceImpl 中替换应用通知服务调用为统一的消息发送接口 - 在 EventServiceImpl 中集成新的消息发送服务,统一处理事件通知逻辑 - 添加事件落点区域判定功能,并在通知内容中包含该信息 - 为暂降事件短信发送增加落点区域参数支持 - 在设备访问参数中新增拓扑图指标ID字段 - 在设备服务实现中添加目标字段设置功能 - 移除废弃的事件用户相关服务接口和实现类
This commit is contained in:
@@ -72,6 +72,9 @@ public class DevAccessParam implements Serializable {
|
||||
@ApiModelProperty("中心点纬度")
|
||||
@NotNull(message = "中心点纬度不能为空")
|
||||
private Double lat;
|
||||
|
||||
@ApiModelProperty("拓扑图指标id")
|
||||
private String target;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -277,6 +277,7 @@ public class CsDeviceServiceImpl implements ICsDeviceService {
|
||||
appLineTopologyDiagramPo.setLat(item.getLat());
|
||||
appLineTopologyDiagramPo.setLng(item.getLng());
|
||||
appLineTopologyDiagramPo.setStatus("1");
|
||||
appLineTopologyDiagramPo.setTarget(item.getTarget());
|
||||
appLineTopologyDiagramPoList.add(appLineTopologyDiagramPo);
|
||||
}
|
||||
List<String> position = csLinePoList.stream().map(CsLinePO::getPosition).collect(Collectors.toList());
|
||||
|
||||
Reference in New Issue
Block a user