暂态区域报表,添加监测点id验证是否存在
This commit is contained in:
@@ -2090,6 +2090,9 @@ public class ReportServiceImpl implements ReportService {
|
||||
|
||||
InfluxDBResultMapper influxDBResultMapper = new InfluxDBResultMapper();
|
||||
//提前创建,不然获取不到(初始化数据)
|
||||
if (CollUtil.isEmpty(lineIds)) {
|
||||
throw new BusinessException(EventResponseEnum.NOT_FOUND);
|
||||
}
|
||||
List<EventDetailNew> eventDetailList = getEventDetailListInfo(areaReportParam, lineIds);
|
||||
List<GeneralDeviceDTO> voltageParamList = generalDeviceInfoClient.getPracticalAllDeviceInfo(areaReportParam).getData();
|
||||
|
||||
@@ -5282,6 +5285,9 @@ public class ReportServiceImpl implements ReportService {
|
||||
|
||||
InfluxDBResultMapper influxDBResultMapper = new InfluxDBResultMapper();
|
||||
//提前创建,不然获取不到(初始化数据)
|
||||
if (CollUtil.isEmpty(lineIds)) {
|
||||
throw new BusinessException(EventResponseEnum.NOT_LINEID);
|
||||
}
|
||||
List<EventDetailNew> eventDetailList = getEventDetailListInfo(areaReportParam, lineIds);
|
||||
if(CollectionUtil.isEmpty(eventDetailList)){
|
||||
throw new BusinessException(CommonResponseEnum.NO_DATA);
|
||||
|
||||
Reference in New Issue
Block a user