fix(wle): 钉钉推送明细精简为「仓|快递单号|快递|异常类型」 #76
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "codex/yanhui-wle-detail-no-time-20261022"
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?
目的与范围
业务反馈(yanhui,2026-10-22,三条连续要求):
明细行最终形态(4 段):
仓|内部单号|快递|异常类型|发货时间|待处理(6 段)仓|快递单号|快递|异常类型(4 段)实现要点:
trackingNo(上游logistic_id)。「未揽收 / 无物流单」这类包裹本来就没有快递单号 → 退回内部单号
oId(业务已确认保留该兜底),否则群里这条无法定位。
shortTime()、formatHours()及其导出(不留死代码)。17.3h都不出现、无 trackingNo 时退回 oId。影响范围:仅
warehouseLogisticsExceptionNotifyJob.js的文本组装 + 对应单测。前端页面列、导出 Excel 的「内部单号 / 发货时间 / 待处理」列不动(业务只要求改群消息文本)。
同步与兼容性
验证
node --test test/warehouseLogisticsExceptionNotify.test.js→ 15/15 通过。POST /notify/run {dryRun:true},15.9s):[4];/\d+h/命中 0;/\d{2}-\d{2} \d{2}:\d{2}/命中 0风险与回退
git revert <merge-sha>。fix(wle): 钉钉推送明细去掉发货时间列to fix(wle): 钉钉推送明细改「仓|快递单号|快递|异常类型|待处理」(去掉发货时间与内部单号)fix(wle): 钉钉推送明细改「仓|快递单号|快递|异常类型|待处理」(去掉发货时间与内部单号)to fix(wle): 钉钉推送明细精简为「仓|快递单号|快递|异常类型」