|
@@ -684,7 +684,9 @@ public class HtAnalogDataServiceImpl extends AbstractCrudService<HtAnalogDataMap
|
|
|
}
|
|
|
List<SingleLoopReportVo> SingleLoopReportList = baseMapper.SingleLoopReportData(deviceCode,startTime,endtime);
|
|
|
if (CollectionUtils.isEmpty(SingleLoopReportList)){
|
|
|
- throw new BusinessException("暂无数据");
|
|
|
+ SingleLoopReportOneVo singleLoopReportOneVo = new SingleLoopReportOneVo();
|
|
|
+ return singleLoopReportOneVo;
|
|
|
+// throw new BusinessException("暂无数据");
|
|
|
}
|
|
|
LambdaQueryWrapper<HtAnalogData> adQuery = Wrappers.lambdaQuery();
|
|
|
adQuery.eq(HtAnalogData::getDeviceName, deviceCode)
|