Merge branch 'master-jdk17' of https://gitee.com/zhijiantianya/ruoyi-vue-pro into feature/iot
# Conflicts: # yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/service/device/IotDeviceServiceImpl.java
This commit is contained in:
@@ -150,7 +150,7 @@ public class IotDeviceServiceImpl implements IotDeviceService {
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public void updateDeviceGroup(IotDeviceUpdateGroupReqVO updateReqVO) {
|
||||
// 1.1 校验设备存在
|
||||
List<IotDeviceDO> devices = deviceMapper.selectBatchIds(updateReqVO.getIds());
|
||||
List<IotDeviceDO> devices = deviceMapper.selectByIds(updateReqVO.getIds());
|
||||
if (CollUtil.isEmpty(devices)) {
|
||||
return;
|
||||
}
|
||||
@@ -188,7 +188,7 @@ public class IotDeviceServiceImpl implements IotDeviceService {
|
||||
if (CollUtil.isEmpty(ids)) {
|
||||
return;
|
||||
}
|
||||
List<IotDeviceDO> devices = deviceMapper.selectBatchIds(ids);
|
||||
List<IotDeviceDO> devices = deviceMapper.selectByIds(ids);
|
||||
if (CollUtil.isEmpty(devices)) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ public class IotProductCategoryServiceImpl implements IotProductCategoryService
|
||||
if (CollUtil.isEmpty(ids)) {
|
||||
return CollUtil.newArrayList();
|
||||
}
|
||||
return iotProductCategoryMapper.selectBatchIds(ids);
|
||||
return iotProductCategoryMapper.selectByIds(ids);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -120,4 +120,4 @@ public class IotProductCategoryServiceImpl implements IotProductCategoryService
|
||||
return categoryDeviceCountMap;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user