1.无线bug修改
This commit is contained in:
@@ -20,9 +20,6 @@ public class DataGroupEventVO {
|
||||
@ApiModelProperty("事件ID")
|
||||
private String eventId;
|
||||
|
||||
@ApiModelProperty("变电站名称")
|
||||
private String subName;
|
||||
|
||||
@ApiModelProperty("监测点ID")
|
||||
private String lineId;
|
||||
|
||||
|
||||
@@ -346,7 +346,7 @@ public class CsEquipmentDeliveryServiceImpl extends ServiceImpl<CsEquipmentDeliv
|
||||
for (CsDataSet item : dataSet) {
|
||||
DeviceManagerVO.DataSetVO dataSetVO = new DeviceManagerVO.DataSetVO();
|
||||
dataSetVO.setId(item.getId());
|
||||
dataSetVO.setName("准实时数据");
|
||||
dataSetVO.setName("history".equals(type) ? "准实时数据":item.getAnotherName());
|
||||
dataSetVO.setType("rt");
|
||||
dataSetList.add(dataSetVO);
|
||||
deviceManagerVo.setDataLevel(item.getDataLevel());
|
||||
|
||||
@@ -288,7 +288,9 @@ public class CsGroupServiceImpl extends ServiceImpl<CsGroupMapper, CsGroup> impl
|
||||
@Override
|
||||
public Object deviceDataByType(CommonStatisticalQueryParam commonStatisticalQueryParam) {
|
||||
String type = commonStatisticalQueryParam.getType();
|
||||
if (type == null) throw new BusinessException(LineBaseEnum.NOTYPE_FAIL.getMessage());
|
||||
if (type == null){
|
||||
throw new BusinessException(LineBaseEnum.NOTYPE_FAIL.getMessage());
|
||||
}
|
||||
//传1 则是趋势数据tab页面
|
||||
if("1".equals(type)){
|
||||
formatQueryParamList(commonStatisticalQueryParam);
|
||||
@@ -419,14 +421,7 @@ public class CsGroupServiceImpl extends ServiceImpl<CsGroupMapper, CsGroup> impl
|
||||
temp.setPhaseType(evtParamPhase.get(0).getValue()+(Objects.isNull(evtParamPhase.get(0).getUnit())?"":evtParamPhase.get(0).getUnit()));
|
||||
}
|
||||
}
|
||||
//变电站名称
|
||||
List<LineDetailVO.Detail> lineDetailVOS = lineFeignClient.getLineDetailByIds(Arrays.asList(temp.getLineId())).getData();
|
||||
if(!lineDetailVOS.isEmpty()){
|
||||
temp.setSubName(lineDetailVOS.get(0).getSubName());
|
||||
}
|
||||
//暂降幅值
|
||||
List<RmpEventDetailPO> eventDetails = eventDetailFeignClient.getEventDetailByIdsList(Arrays.asList(temp.getEventId())).getData();
|
||||
if(eventDetails !=null && !eventDetails.isEmpty()) temp.setFeatureAmplitude(PubUtils.floatRound(2, eventDetails.get(0).getFeatureAmplitude().floatValue()));
|
||||
|
||||
|
||||
});
|
||||
return returnpage;
|
||||
|
||||
Reference in New Issue
Block a user