fix(wst): 起算点改回「最后审核时间」,并剔除订单表漏回写的已发单 #90
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "yanhui-wst-audit-1028"
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?
业务 2026-10-28 下午用 9837824 指出「599 单创建时间不对」,逐字段核对后确认:
jst_Orders.created(10-19 23:44:22)不是仓库接到单的时刻,真正的起算点是状态表last_oa_confirm_time(10-28 09:58:42)——该单审核后 11 分钟就打了单(运单 JDVB71664383839,10:09:55 快递员上门)。改了什么
created→last_oa_confirm_time(业务选定「最后审核时间」)。取不到审核时间的单回退created,页面 / 导出 / 钉钉该列打*。send_date为空、但状态表send_time有值的,按已发剔除(实测 144 单里 6 单属此类,且有揽收轨迹)。两个方向都不会再冤枉仓库。创建时间→审核时间+下单时间并列,导出同步。影响(10-28 13:00 轮实测)
599 单里 376 单是当天 08:10
10:30 才批量审核的积压单(多为 10-1710-27 创建),491 单其实已有运单号。验收
npm run check:491/493(2 个失败为既有 Windows 权限 / TTL 用例,改动前同样失败,已 stash 对比确认)内部单号/线上订单号/店铺/发货仓/发货时间/审核时间/下单时间/付款时间/发货状态/物流状态/已等时长、回退单带*、无 pageerror⚠️ 分支关系
本分支基于
yanhui-wst-rename-1028(PR #89 纯改名),所以包含 PR #89 的那个提交(6a5f6e8)。合并本 PR 后 #89 即可关闭。