fix: selectBatchIds 已过期

This commit is contained in:
xingyu4j
2025-05-26 14:06:02 +08:00
parent 837f155668
commit 5caf990920
63 changed files with 101 additions and 101 deletions

View File

@@ -155,7 +155,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;
}
@@ -193,7 +193,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;
}
@@ -451,4 +451,4 @@ public class IotDeviceServiceImpl implements IotDeviceService {
));
}
}
}

View File

@@ -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;
}
}
}