liufumingren
44b8b09e0e
fix(export): 订单导出子查询补齐筛选列,修复 Unknown column 't.*'
导出订单时,筛选条件作用于外层包装表((inner) AS t),
但内层只投影了导出列,「电商平台」筛选引用的 source_platform_code
等列不在包装表里,导致:
Unknown column 't.source_platform_code' in 'where clause'
修复:
- 内层各状态分支固定补齐 t.principal_id / t.source_platform_code(不输出到导出表)
- 覆盖所有筛选项 × 订单行/含明细两种模式的组合校验,均通过
- 单测补充平台筛选的内层列断言
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-14 01:02:42 +08:00
..
2026-11-08 19:05:30 +08:00
2026-11-07 22:35:37 +08:00
2026-11-09 03:06:53 +08:00
2026-11-09 20:16:53 +08:00
2026-11-07 19:02:19 +08:00
2026-11-08 18:01:24 +08:00
2026-11-07 23:14:48 +08:00
2026-11-07 09:46:45 +08:00
2026-11-07 23:24:35 +08:00
2026-11-07 22:56:20 +08:00
2026-11-07 09:22:16 +08:00
2026-11-08 19:05:30 +08:00
2026-11-14 01:02:42 +08:00
2026-11-07 22:48:33 +08:00
2026-11-07 09:22:16 +08:00
2026-11-03 03:29:09 +08:00
2026-11-08 11:28:18 +08:00
2026-11-08 11:28:18 +08:00
2026-11-13 23:17:21 +08:00
2026-11-13 22:42:57 +08:00
2026-11-03 17:31:44 +08:00
2026-11-07 22:04:37 +08:00
2026-11-07 20:33:33 +08:00
2026-11-07 22:08:31 +08:00
2026-11-13 23:17:21 +08:00
2026-11-07 19:40:33 +08:00
2026-11-07 21:38:03 +08:00
2026-11-07 17:56:42 +08:00
2026-11-08 18:01:24 +08:00
2026-11-07 07:40:30 +08:00
2026-11-07 22:29:11 +08:00