|
@@ -85,7 +85,7 @@ public class IotTemplate2DeviceService {
|
|
|
return ResultContent.buildFail("iotTemplateId不能为空");
|
|
return ResultContent.buildFail("iotTemplateId不能为空");
|
|
|
}
|
|
}
|
|
|
// 查询设备
|
|
// 查询设备
|
|
|
- if (StringUtils.isNotEmpty(param.getDeviceId()) || StringUtils.isNotEmpty(param.getDeviceName()) || param.getDeviceType() != null || param.getDeviceModel() != null || StringUtils.isNotEmpty(param.getProjectInfoCode()) || param.getOnLineState() != null) {
|
|
|
|
|
|
|
+ if (StringUtils.isNotEmpty(param.getDeviceId()) || StringUtils.isNotEmpty(param.getDeviceName()) || param.getDeviceType() != null || param.getSpecType() != null || StringUtils.isNotEmpty(param.getProjectInfoCode()) || param.getOnLineState() != null) {
|
|
|
Pageable pageable1 = PageRequest.of(0, 10000);
|
|
Pageable pageable1 = PageRequest.of(0, 10000);
|
|
|
DeviceInfoSearchParam searchParam = new DeviceInfoSearchParam();
|
|
DeviceInfoSearchParam searchParam = new DeviceInfoSearchParam();
|
|
|
BeanUtils.copyProperties(param, searchParam);
|
|
BeanUtils.copyProperties(param, searchParam);
|