|
@@ -273,7 +273,7 @@ public class IotYfScdServiceImpl extends IIotScdCommService {
|
|
|
|
|
|
|
|
List<IotYfScddata> iotYfScddataList = getExportDataList(iotDeviceDataListReqVo);
|
|
List<IotYfScddata> iotYfScddataList = getExportDataList(iotDeviceDataListReqVo);
|
|
|
if(iotYfScddataList == null || iotYfScddataList.isEmpty()){
|
|
if(iotYfScddataList == null || iotYfScddataList.isEmpty()){
|
|
|
- throw new IotBizException(ErrorCode.INVALID_PARAMETER.getCode(), "数据不存在");
|
|
|
|
|
|
|
+ throw new IotBizException(ErrorCode.INVALID_PARAMETER.getCode(), "暂无数据");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (Objects.equals(findDevice.getDevtypeBid(), IotDeviceDictConst.TYPE_YF_SCD)) {
|
|
if (Objects.equals(findDevice.getDevtypeBid(), IotDeviceDictConst.TYPE_YF_SCD)) {
|
|
@@ -349,7 +349,7 @@ public class IotYfScdServiceImpl extends IIotScdCommService {
|
|
|
|
|
|
|
|
List<IotYfScddata> iotYfScddataList = getExportDataList(iotDeviceDataListReqVo);
|
|
List<IotYfScddata> iotYfScddataList = getExportDataList(iotDeviceDataListReqVo);
|
|
|
if(iotYfScddataList == null || iotYfScddataList.isEmpty()){
|
|
if(iotYfScddataList == null || iotYfScddataList.isEmpty()){
|
|
|
- throw new IotBizException(ErrorCode.INVALID_PARAMETER.getCode(), "数据不存在");
|
|
|
|
|
|
|
+ throw new IotBizException(ErrorCode.INVALID_PARAMETER.getCode(), "暂无数据");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
List<IotYfScdStatusExportVo> exportVoList = new ArrayList<>();
|
|
List<IotYfScdStatusExportVo> exportVoList = new ArrayList<>();
|