|
480e40d78c
|
Merge branch 'device-microservice'
ZhenTu-BE/pipeline/head This commit looks good
|
2025-09-04 12:38:29 +08:00 |
|
|
4d70c33650
|
feat(device): 添加设备配置筛选功能
- 新增 DeviceV2Client 接口中的 filterDevicesByConfigs 方法
- 创建 ConfigFilter、FilterDevicesByConfigsRequest 和 FilterDevicesByConfigsResponse 类
- 实现 DeviceIntegrationService 中的 filterDevicesByConfigs 和 findDevicesWithMissingConfig 方法- 添加 DeviceFilterExample 类,展示设备配置筛选功能的使用示例
|
2025-09-04 12:38:13 +08:00 |
|
|
3b8a33c8eb
|
refactor(device): 优化时间格式处理
- 移除了 DeviceFactory 和 DeviceRepository 中将 LocalDateTime转换为 Date 的代码
- 更新了 DeviceConfigV2DTO 和 DeviceV2DTO,将 createTime 和 updateTime 字段从 LocalDateTime 改为 Date
- 现在使用 @JsonFormat 注解来处理日期格式的序列化和反序列化
|
2025-09-04 12:36:44 +08:00 |
|
|
8c8a6baa5e
|
refactor(integration): 重构集成服务的降级机制
-移除各服务自定义的降级服务类,统一降级逻辑
- 新增 IntegrationFallbackService作为通用降级服务
- 更新设备和景区服务的降级处理方式
- 优化降级缓存管理,增加统计信息和批量清理功能
- 调整 API 接口,移除扁平化批量更新等相关方法
|
2025-09-02 12:24:55 +08:00 |
|
|
d35a1facbd
|
refactor(device): 重构设备相关接口并添加缓存机制
- 为 DeviceConfigIntegrationService 和 DeviceIntegrationService 添加 fallback 服务
- 为设备配置和信息获取方法添加缓存逻辑
- 移除冗余的设备配置设置方法
- 优化设备信息和配置的获取流程
|
2025-09-02 11:35:15 +08:00 |
|
|
dac3b8d847
|
refactor(integration): 更新设备集成配置类注解
- 移除 @ConditionalOnProperty 注解
- 添加 @ConfigurationProperties 注解
|
2025-09-02 11:07:07 +08:00 |
|
|
b475e38018
|
feat(device): 添加设备排序功能并优化示例代码
- 在 CreateDeviceRequest 和 UpdateDeviceRequest 中添加 sort 字段
- 在 DeviceV2DTO 中添加 sort 属性- 更新 DeviceIntegrationExample 中的示例代码,演示设备排序功能- 新增设备排序相关的服务方法,如 createIpcDeviceWithSort 和 updateDeviceSort
- 优化 runAllExamples 方法,移除部分冗余示例
- 新增 runBasicExamples 方法,用于运行基础示例
|
2025-09-02 01:32:12 +08:00 |
|
|
ad7d1042f4
|
feat(device): 新增批量配置设备参数接口
- 新增 BatchUpdateResponse 和 ProcessedConfigItem 类用于批量更新响应
- 修改 DeviceConfigV2Client 接口返回类型为 BatchUpdateResponse
- 在 DeviceConfigIntegrationService 中实现新的批量更新逻辑
- 更新 DeviceIntegrationExample 和 CLAUDE.md 文档,添加新的批量配置示例
|
2025-09-01 23:15:02 +08:00 |
|
|
d34603062a
|
feat(integration): 添加设备服务集成模块
- 新增设备服务配置和相关客户端接口
- 实现设备和设备配置的管理功能- 添加设备监控和状态管理示例
- 优化错误处理和故障恢复机制
|
2025-08-30 23:30:12 +08:00 |
|