Files
ccdi/docs/reports/implementation/2026-05-29-fund-graph-statement-query-fix.md
2026-06-01 17:22:51 +08:00

19 lines
897 B
Markdown
Raw Permalink 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.
# 资金流图谱流水查询报错修复实施记录
## 本次修改
- 修复资金流图谱构建节点列表时,对边两端主体二次回查未设置 `limit` 的问题。
- 该问题会使 MyBatis 生成 `LIMIT null`MySQL 报 `near 'null'`,进而导致资金流图谱查询或点击资金边后的流水明细下钻显示失败。
- 保留 Mapper 层默认 `LIMIT 20`,同时在服务层补齐默认上限,避免其他调用路径再次传入空分页上限。
## 影响范围
- 后端接口:`GET /ccdi/project/fund-graph/graph`
- 关联前端表现:资金流图谱加载和资金边流水明细查询
## 验证
- 执行后端编译,确认图谱模块通过编译。
- 重新打包并按项目脚本重启后端,使运行中的 jar 包含本次修复。
- 使用真实接口查询资金流图谱和资金边流水明细,确认不再出现 `LIMIT null` SQL 错误。