修复拼多多货款账单加载超时 #182

Merged
yueyang merged 1 commits from fix/yueyang-pinduoduo-loading into main 2026-09-14 13:55:29 +08:00
Collaborator

做了什么

  • 拼多多专用镜像已由 channel = PinduoduoImport 固定切片时,不再重复追加相同渠道条件,使月度 COUNT、SUM 和分页复用现有日期/店铺索引。
  • 为 js_jst_pdd_receiving_bill_rows.fee_name 增加单列索引配置和幂等、可回滚迁移,加速账单项目筛选选项。
  • 共享多渠道账单表仍保留渠道条件。

修改文件

  • modules/EcommerceFinance/Repositories/StoreReceivingAlipayBillMirrorRepository.phpn- config/upstream_mirrors.phpn- database/migrations/2026_09_14_160000_index_pinduoduo_bill_filter_options.php`n- 两个相关 Repository 单元测试

验证

  • 核心 Repository + 页面接口:21 tests / 134 assertions
  • 镜像注册、同步配置:29 tests / 136 assertions(4 skipped)
  • 部署脚本相关:4 tests / 77 assertions
  • PHP 语法检查、git diff --check 通过
  • 迁移 up / 重复 up / down 及数据不变断言通过

影响范围

  • 金额口径:不涉及
  • 权限:不涉及
  • 数据库:新增拼多多镜像 ee_name 普通索引
  • 配置:新增同一索引定义,供新建/重建镜像保持一致
  • 生产状态:尚未部署,尚未执行生产迁移
## 做了什么 - 拼多多专用镜像已由 channel = PinduoduoImport 固定切片时,不再重复追加相同渠道条件,使月度 COUNT、SUM 和分页复用现有日期/店铺索引。 - 为 js_jst_pdd_receiving_bill_rows.fee_name 增加单列索引配置和幂等、可回滚迁移,加速账单项目筛选选项。 - 共享多渠道账单表仍保留渠道条件。 ## 修改文件 - modules/EcommerceFinance/Repositories/StoreReceivingAlipayBillMirrorRepository.php`n- config/upstream_mirrors.php`n- database/migrations/2026_09_14_160000_index_pinduoduo_bill_filter_options.php`n- 两个相关 Repository 单元测试 ## 验证 - 核心 Repository + 页面接口:21 tests / 134 assertions - 镜像注册、同步配置:29 tests / 136 assertions(4 skipped) - 部署脚本相关:4 tests / 77 assertions - PHP 语法检查、git diff --check 通过 - 迁移 up / 重复 up / down 及数据不变断言通过 ## 影响范围 - 金额口径:不涉及 - 权限:不涉及 - 数据库:新增拼多多镜像 ee_name 普通索引 - 配置:新增同一索引定义,供新建/重建镜像保持一致 - 生产状态:尚未部署,尚未执行生产迁移
yueyang added 1 commit 2026-09-14 13:53:21 +08:00
yueyang changed title from WIP: 修复拼多多货款账单加载超时 to 修复拼多多货款账单加载超时 2026-09-14 13:55:00 +08:00
yueyang merged commit fb691d9127 into main 2026-09-14 13:55:29 +08:00
yueyang deleted branch fix/yueyang-pinduoduo-loading 2026-09-14 13:55:31 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WuYongJie/CaiWuXiTong#182
No description provided.