Commit Graph

10 Commits

Author SHA1 Message Date
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
a9d64402f2 refactor(scenic): 将时间戳类型改为 Date 类型
- 在 ScenicConfigV2DTO 和 ScenicV2DTO 类中,将 createTime 和 updateTime 字段的类型从 Long 改为 Date
- 这个改动可以更方便地进行时间操作和格式化,提高代码的可读性和易用性
2025-08-30 18:09:42 +08:00
c7d5399931 refactor(scenic): 将 scenic 模块列表接口中的 total 字段类型从 Long 改为 Integer
- 修改了 ScenicV2ListResponse 和 ScenicV2WithConfigListResponse 类中的 total 字段类型
- 此更改统一了 total 字段的类型,提高了代码的一致性和可维护性
2025-08-28 09:57:39 +08:00
5bb2bc1ac3 refactor(PageResponse): 将 total 字段类型从 Long 改为 Integer
- 修改了 PageResponse 类中 total 字段的类型,以更好地与前端交互
- 这个改动解决了后端与前端之间关于 total 类型不一致的问题
2025-08-28 09:55:40 +08:00
7c2db2ad22 refactor(scenic): 重构景区管理接口并新增 V2 版本
- 新增 ScenicV2Controller 控制器,实现景区 V2 版本的 CRUD操作和配置管理
- 移除 ScenicConfigWithDefaultClient 和 ScenicMetaClient 接口- 更新 ScenicV2Client接口,添加分页查询方法
- 删除 ConfigWithDefaultResponse、BatchSetFieldEnabledRequest、EnabledFieldsResponse、FieldConfigDTO 和 SetFieldEnabledRequest 类
- 新增 ScenicV2ListResponse 和 ScenicV2WithConfigListResponse 类- 更新 ScenicConfigIntegrationService 和 ScenicIntegrationService,移除与配置相关的方法
- 删除 ScenicMetaIntegrationService 类
2025-08-27 00:11:00 +08:00
f0aeb27566 refactor(scenic): 重构景区配置相关代码
- 为 FeignClient 添加 contextId 属性,提高服务调用的可读性
- 更新 ScenicIntegrationService 中的接口调用方式
- 修改 ScenicConfigEntity 和 ScenicConfigResp 中的字段类型
-重构 ScenicRepository 中的配置解析逻辑,使用 ConfigValueUtil 工具类
2025-08-26 14:26:44 +08:00
32feaa9692 feat(integration): 添加 ZT-Scenic 集成服务模块
- 新增 FeignConfig、IntegrationProperties 等基础配置类
- 实现自定义 FeignErrorDecoder 和 IntegrationException
- 添加 CommonResponse 和 PageResponse 等通用响应模型
- 定义多个 Feign 客户端接口,用于调用 ZT-Scenic 服务
- 实现 DefaultConfigIntegrationService 和 ScenicConfigIntegrationService 服务类
- 添加 ScenicIntegrationExample 示例类,展示如何使用集成服务
2025-08-26 13:36:06 +08:00