Files
ccdi/docs/reports/implementation/2026-07-21-jzl-multiple-logid.md

24 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 金综流水多 logId 处理实施记录
## 修改内容
- 修复拉取金综流水时只处理首个 `logId` 的问题。
- `FetchInnerFlowResponse.data` 中多个 `logId` 现在会逐个进入解析状态轮询、上传状态查询和流水明细落库。
- 第一个 `logId` 复用原上传记录,后续 `logId` 自动新增独立上传记录。
- 单个 `logId` 处理失败时只更新对应记录为失败,不影响其余 `logId` 继续处理。
- 基于最新 `origin/dev-ui` 实施,保留 `CallerContext` 外部接口日志链路。
## 影响范围
- `/ccdi/file-upload/pull-bank-info` 金综 `JZL` 拉取后的异步处理链路。
- 项目详情上传数据列表中金综多 XML 文件对应的上传记录展示。
- 后续流水明细保存与自动打标触发判断。
## 验证情况
- 后端单测通过:
- `mvn -pl ccdi-project -am test "-Dtest=CcdiFileUploadServiceImplTest" "-Dsurefire.failIfNoSpecifiedTests=false"`
- 结果36 个测试通过。
- 新增用例覆盖金综返回 3 个 `logId` 的场景,确认 3 个 `logId` 均进入解析状态轮询和流水明细查询,且后续 `logId` 会新增独立上传记录。
- 验证多 `logId` 处理继续传递同一个 `CallerContext`,兼容最新外部接口日志链路。