|
ef61ce9d63
|
Merge branch 'render-worker-microservice'
# Conflicts:
# src/main/java/com/ycwl/basic/integration/scenic/service/ScenicIntegrationService.java
# src/main/java/com/ycwl/basic/service/task/impl/TaskTaskServiceImpl.java
|
2025-09-09 11:00:10 +08:00 |
|
|
e574f49177
|
refactor(integration): 重构设备和服务配置
- 修改 DefaultConfigIntegrationService 类名以更准确地反映其功能
- 移除不必要的导入和注解
- 统一命名规范
# Conflicts:
# src/main/java/com/ycwl/basic/integration/questionnaire/config/QuestionnaireIntegrationConfig.java
|
2025-09-07 14:45:21 +08:00 |
|
|
0aa834bdfa
|
refactor(log): 修改日志级别并优化日志输出
-将 info 日志级别改为 debug 日志级别
- 在 DefaultConfigIntegrationService 中添加了获取默认配置列表和指定默认配置的日志输出- 优化了部分日志信息的描述,使其更加详细
|
2025-09-06 15:46:30 +08:00 |
|
|
ffad1c9f59
|
refactor(device): 重构默认配置接口返回类型
- 将 DefaultConfigClient 中的 listDefaultConfigs 方法返回类型由 PageResponse 改为 CommonResponse<PageResponse>
- 更新 DefaultConfigIntegrationService 中的调用方式
- 移除 handlePageResponse 方法,改为使用 handleResponse 方法处理响应
|
2025-09-05 16:51:47 +08:00 |
|
|
c9f7080615
|
refactor(device): 优化默认配置示例代码
- 移除了不必要的 getData() 调用,直接使用 getList() 和 getTotal() 方法
- 使用 Java 8 Stream API 简化了部分代码,提高了可读性
- 优化了配置类型分布统计逻辑,使用更简洁的方式
|
2025-09-05 15:48:54 +08:00 |
|
|
7b22baeb66
|
refactor(device): 更新验证注解导入
- 将 javax.validation相关的导入语句替换为 jakarta.validation
- 此更改是为了适应 Jakarta EE 规范的最新版本
|
2025-09-05 15:48:03 +08:00 |
|
|
933818d458
|
feat(device): 添加默认配置管理功能
- 新增 DefaultConfigClient接口,用于与设备微服务进行默认配置相关的操作
- 实现 DefaultConfigIntegrationService 类,提供默认配置管理的高阶服务- 添加批量配置请求构建器 BatchDefaultConfigRequestBuilder,简化批量操作
- 新增 DefaultConfigIntegrationExample 示例类,演示默认配置管理的使用方法
- 更新 CLAUDE.md 文档,增加默认配置管理的详细使用说明和示例代码
|
2025-09-05 14:49:06 +08:00 |
|
|
aa4a6c29c6
|
refactor(device): 重构设备列表接口返回类型
- 将 DeviceV2ListResponse 和 DeviceV2WithConfigListResponse 替换为通用的 PageResponse 类
- 更新相关控制器、服务和客户端接口以使用新的返回类型
- 删除冗余的 DeviceV2ListResponse 和 DeviceV2WithConfigListResponse 类
- 调整 FilterDevicesByConfigsResponse 中的 total 字段类型
|
2025-09-05 12:17:33 +08:00 |
|
|
0a13bd8b12
|
refactor(device): 将设备列表和景点筛选接口中的 total 类型从 Long 改为 Integer
ZhenTu-BE/pipeline/head This commit looks good
- 修改了 DeviceV2ListResponse、DeviceV2WithConfigListResponse 和 ScenicFilterPageResponse 类中的 total 字段类型
- 从 Long 改为 Integer,以确保数据类型一致性并可能提高性能
|
2025-09-04 17:00:35 +08:00 |
|
|
dbe0447987
|
refactor(pc): 移除日志记录并优化数据查询
- 移除了多个控制器和服务类中的冗余日志记录
- 在查询数据时,不再通过 SQL左连接直接获取景点和设备名称,而是使用 Repository 单独查询
- 更新了 FaceSampleMapper、
|
2025-09-04 15:57:18 +08:00 |
|
|
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 |
|