liufumingren
|
da4208707d
|
fix: 修复自动分配快递时 warehouse_id 上下文丢失导致 FK 约束失败及平台解析异常
- express.js: createWaybillCode 优先使用传入的 warehouse_id,修复 setImmediate 后 ctx.user 丢失导致 wms_order_express.warehouse_id 外键约束失败
- delivery_order.js: asyncProcessOrderCreated 中平台/快递解析逻辑修正
- recheckOrder.js: 复核单快递分配状态判断优化
- express_platform.js: 快递平台自动同步回传链路修正
- order_async.js: 奇门异步下单上下文增强
- polo_api_client.js: PolyAPI 客户端微调
|
2026-08-02 22:40:58 +08:00 |
|
liufumingren
|
02b3a5e813
|
fix(order): 订单同步/运单/库位分配防御性修复
- express: 运单查询补充 pay_no/from_key 字段;step 更新增加 status!=cancel 过滤
- order_async: 同步分发前过滤 sync_status=fin 的已完成订单;修复 Op.ne 引用缺失;强制 SELECT FOR UPDATE 重读;多处更新增加 status!=cancel 守卫
- order_storage_allocation: SN/快递分配失败回写增加 status!=cancel 守卫
- methods: allocateExpressCode 文档更新为异步接口说明
|
2026-08-02 00:38:34 +08:00 |
|
liufumingren
|
5759c1fb19
|
feat(deploy): 部署脚本增加端口强制清理 + 健康检查超时延长至 20s
- 新增步骤 5.5:启动前通过 ss + fuser -k 强制释放目标端口残留进程
- 健康检查重试次数从 5 次增加到 10 次,最长等待从 10s 延长至 20s
- 健康检查失败日志增加启动日志路径提示
|
2026-08-01 15:31:00 +08:00 |
|
liufumingren
|
3736d306bd
|
feat(express): 快递运单创建链路改造
- order_express model 新增 logistics_code/name/delivery_order_code/source_order_codes/store_id 字段
- express.js 业务层改造:创建运单号时写入快照字段
- express_platform.js 适配新字段
- pendingOrder.js 运单分配+拆子单号改造:支持 dispatch 表查询、已取消订单校验、主单号前置检查、step 4 配送中拆单
|
2026-08-01 03:44:14 +08:00 |
|
liufumingren
|
635e86f984
|
chore: 提交当前所有变更,准备开始 allocateSubOrderNumber step=4 改造
|
2026-07-29 13:57:04 +08:00 |
|
liufumingren
|
81350c0d6b
|
fix: 定时任务同步日志 + 基础设施修复 + 权限迁移(收尾)
【定时任务】sync_outbound_orders_to_delivery: 执行日志写缓存 + 错误详情提取(parent/validation)
【基础设施】system.js: snake_case→camelCase 服务路由转换(兼容 express_interface 等)
【看板】dashboard: queryWarehouseStats 支持 storeId 货主维度过滤
【订单基类】order/base: getOrderModel 兼容无上下文时传入 warehouseId(货主侧场景)
【库存】inventory: 全量移库软删除→硬删除(force destroy)释放唯一键 + 唯一约束/校验错误友好提示
【快递平台】express_platform: KS(快手)平台 receiver.phone 不传(平台要求)
【迁移】delivery 自增起点 + supervisor CS 权限修复
|
2026-07-27 03:49:27 +08:00 |
|
liufumingren
|
5ef99e3bed
|
1
|
2026-07-01 14:00:59 +08:00 |
|
liufumingren
|
e7fcd2549e
|
20260625
|
2026-06-25 02:01:59 +08:00 |
|
liufumingren
|
77435aeb79
|
1
|
2026-06-23 18:48:33 +08:00 |
|
liufumingren
|
d743e67b9d
|
1
|
2026-06-17 01:18:55 +08:00 |
|
liufumingren
|
025184904a
|
1
|
2026-06-14 19:03:58 +08:00 |
|
liufumingren
|
99367e5043
|
1
|
2026-06-06 05:15:46 +08:00 |
|
liufumingren
|
4beefcd22c
|
feat(print,docs,migrations): add notifyLock, order export, express fields and related docs
notifyLock method + logs
print.send logs
order export methods + docs
express model fields SPH/XHS/DW/JD + migration
platform_shop_id migration
notifyLock docs
order export docs
|
2026-05-30 17:30:17 +08:00 |
|
liufumingren
|
abf2c4d94a
|
1
|
2026-05-29 16:47:38 +08:00 |
|
liufumingren
|
dc4894cb6d
|
1
|
2026-05-25 17:08:56 +08:00 |
|
liufumingren
|
150e2977d4
|
修改快递接口配置,拼多多取号,未完成
|
2026-05-22 08:39:07 +08:00 |
|
liufumingren
|
9b2cc5fc73
|
fix(receiving): 修复获取收货单时重复定义属性的问题
|
2026-05-06 01:32:55 +08:00 |
|
liufumingren
|
5ce689d771
|
1
Co-authored-by: Copilot <copilot@github.com>
|
2026-04-30 19:20:31 +08:00 |
|
liufumingren
|
b7f980188f
|
1
Co-authored-by: Copilot <copilot@github.com>
|
2026-04-29 17:43:54 +08:00 |
|
liufumingren
|
0ffe290a21
|
chore: commit all current workspace changes
|
2026-04-27 16:09:26 +08:00 |
|