|
@@ -132,7 +132,7 @@ public class DeviceAnalogVariableListServiceImpl extends AbstractCrudService<Dev
|
|
|
(o, i) -> {
|
|
|
Page<DeviceAnalogVariableListOneVo> page = new Page<>(i, 30);
|
|
|
page = baseMapper.variableListExport(page,siteId, variableName, dataArea);
|
|
|
- if (page.getRecords().isEmpty()){
|
|
|
+ if (page.getRecords().size()>0){
|
|
|
err1[0] ="导出失败,请绑定监控设备";
|
|
|
throw new BusinessException(err1[0]);
|
|
|
}
|