You've already forked FrameTour-BE
fix(device): 移除未配置 deviceNo 时的被动存储查询
- 在 VptPassiveStorageOperator 和 WvpPassiveStorageOperator 中添加日志警告 - 返回空列表以避免使用未配置的 deviceNo 进行查询 - 移除 DeviceEntity 中的 no2 字段 - 更新 DeviceServiceImpl 中的缓存清除逻辑
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user