fix(device): 移除未配置 deviceNo 时的被动存储查询

- 在 VptPassiveStorageOperator 和 WvpPassiveStorageOperator 中添加日志警告
- 返回空列表以避免使用未配置的 deviceNo 进行查询
- 移除 DeviceEntity 中的 no2 字段
- 更新 DeviceServiceImpl 中的缓存清除逻辑
This commit is contained in:
2025-09-01 18:45:26 +08:00
parent d34603062a
commit 98e5c3dc39
4 changed files with 4 additions and 4 deletions

View File

@@ -160,7 +160,6 @@ public class DeviceServiceImpl implements DeviceService {
deviceMapper.updateSort(item.getId(), item.getSort());
deviceRepository.clearDeviceCache(item.getId());
deviceRepository.clearDeviceCache(item.getNo());
deviceRepository.clearDeviceCache(item.getNo2());
});
return ApiResponse.success(true);
}