修复抖音全部月份账单查询等待过长 #179
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/qiuxiang-douyin-reconciliation-query-performance"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
全部月份查询将完整 JSON 明细与店铺关联物化到临时表,导致分页过慢。改为仅对编码、时间和金额分页,随后批量读取当前页完整明细;店铺筛选按店铺 ID 过滤。
仅修改 DouyinAuthoritativeBillRepository。金额口径不变,不涉及迁移、权限或生产配置。对账回归测试通过;使用生产镜像验证全部月份首页约 2 秒,校准月份分页约 0.3 秒。