liufumingren
|
007babb6c6
|
fix(order): 订单详情兜底查询,配送表查空回退待处理表,待处理详情固定先查 dispatch 再兜底 current,避免表位流转后详情落空
|
2026-09-03 17:00:53 +08:00 |
|
liufumingren
|
d36a46c5ab
|
fix(order): 取消波次增加拣货状态校验,拣货中/已完成波次禁止取消
|
2026-08-29 21:04:47 +08:00 |
|
liufumingren
|
4ddcbe60a4
|
feat(order): 取消订单事务原子化,储位分配支持允许受限库位
|
2026-08-27 23:41:54 +08:00 |
|
liufumingren
|
51f6b27d6a
|
fix(qimen): itemId 非主键时降级按 item_code 查找商品,修复奇门推单误报未同步推送到仓库
|
2026-08-25 13:09:53 +08:00 |
|
liufumingren
|
763573ee41
|
feat(wms): 拦截订单门禁豁免、波次号原子取号、打印自定义区数量、拆包视频与商品复核字段
- pick: waveClaimScan 拦截订单整体跳过领料(不置 claim_status=fin,未打印不阻隔领料);query 领料前置校验仅统计非拦截未领料订单(拦截未领料不阻隔拣货);createWavePickTask 新增 excludeUnclaimed,普通波次(source=0)计算拣货数量(order_count/任务订单/筐)时剔除未领料订单
- wave: 波次号改为 wms_number_sequence 原子取号(upsert + LAST_INSERT_ID,seed 对齐当日历史最大序),wave_no 唯一索引 uniq_wave_no,并发撞号自动重取(最多 3 次)
- print: 面单自定义区首行「商品总数【n】」(items_total 优先),团购波次商品明细行尾「波次总单数×商品数量」
- returnUnpack: 列表新增 has_video/video_enable/videos 视频字段与筛选,补视频列表权限迁移
- stock: 商品新增 need_recheck(是否需要复核)字段,导入归一化与导出列支持,补迁移
- docs: 同步 methods/system.json 与 methods/changes/system.json 变更记录(恢复遗漏的已提交记录)
|
2026-08-23 14:31:49 +08:00 |
|
liufumingren
|
37b9a3d30d
|
fix(express): polyapi 取号订单ID改 Hex16 提交并回传解码,修复 ESLint
- object_Id/orderno 中 order.id 改为 16 进制编码,缩短订单唯一标识字符串
- 失败项/各平台成功回写分支按 parseInt(x,16) 解码回十进制,保持落库与映射兼容
- 修复本文件 31 处 ESLint(空格/引号/注释等),纯格式不涉及业务逻辑
|
2026-08-22 17:22:27 +08:00 |
|
liufumingren
|
232985a272
|
feat(wave): 策略命中数按同快递拆分统计与退回原因中文标签
- getWaveStrategyMatchedOrderCountFilteredMap 改收策略行并按 require_same_express 拆分计数,
同快递策略按 items_hash+快递分组, 与抓取候选 SQL 口径一致, max_same_structure<=0 视为不设上限
- waveStrategyFallbackOrderList excluded_reason 改中文标签, 兼容 lock_status 归一化 Y/N 与原始值
|
2026-08-21 02:20:07 +08:00 |
|
liufumingren
|
943a20f582
|
fix(print): express 打印组件解析支持系统平台编码回退
- 淘宝 TB/天猫 TM/1688/TGC 等系统平台编码未在 wms_print_platform 直接匹配时,
经 wms_platform.print_platform_id 回退解析 wms_print_platform.platform_name
- 移除 loadExpressPlatformComponents 调试 console.log,改走 ctx.logger.info
- 新增 TB 回退解析成功与无映射失败的单元测试
|
2026-08-18 23:59:11 +08:00 |
|
liufumingren
|
d0621dd4ec
|
fix(order): 已取消订单跳过分配储位与分配快递
- order_storage_allocation: allocatePicking 过滤循环校验 status=cancel,已取消订单跳过并记 skipped_reason=order_cancelled,不再锁库存写 picking
- express: createWaybillCodePipeline step1 的 current/dispatch 查询排除 status=cancel,createWaybillCode 事务内再次剔除取消订单(不标记异常、不写失败日志、不取号)
- 新增回归测试:分配储位跳过取消订单、分配快递流水线跳过取消订单
|
2026-08-17 02:07:29 +08:00 |
|
liufumingren
|
7ad08e488d
|
feat(notice): 统一通知仓库接口通道与订单同步通知去抖
- warehouseNotify: 按固定群订阅经 wms_api_app 回调推送(MD5 验签),消息表登记+失败重试
- notice: 货主群缺失时降级发仓库异常群(前缀标记失败),合约停用/已解除货主不发货主群也不降级
- order_async: 订单同步通知 3 分钟去抖合并,Redis 队列+定时冲刷+失败重试
- receiving: 收货完成/驳回/审核通知走仓库通道,仓库/货主侧文案分离
- storage/inventory: 移除移库完成群通知(事件码保留,库存余量提醒仍复用)
- 新增 debug:warehouse:push-receiver 调试接收服务与文档/变更记录
|
2026-08-17 02:03:34 +08:00 |
|
liufumingren
|
98bc088929
|
feat: 仓库配置新增收货地址 receiver_address,inbox 售后群新增工单登记/改地址/核实签收/改快递/查询仓库地址函数
|
2026-08-14 15:29:59 +08:00 |
|
liufumingren
|
358fef0f71
|
chore: apply ESLint auto-fixes, JSDoc additions, and CRLF→LF normalization (no logic changes)
|
2026-08-08 20:28:18 +08:00 |
|
liufumingren
|
5378fcd137
|
refactor(print): 打印模块重构
- 新增 systems/order_print.js 订单打印业务层(getPrintDataByWaybillCodes 等)
- print.js 删除 retry 补偿相关代码(normalizeRetrySendPayload/getRetryEligibility)
- order/print.js 新增 getPrintDataByWaybillCodes 方法
- printer_data_builder.js 新增 appendExtraCustomLines + extraCustomLines 参数支持
- polo_api_client.js 添加调试缓存
- 删除 print_retry_compensation 定时任务测试
|
2026-08-01 03:44:53 +08:00 |
|
liufumingren
|
19f0449992
|
fix: 手工运单号防误删三层防护 + 操作日志businessId修正
1. hardDeleteWaybillAsyncOrderExpressRows 加 status:0 过滤,保护手工录入 status=1 记录
2. createWaybillCodePipeline 入口跳过 business_key=1 且已分配运单的订单
3. manualWaybill 操作日志 businessId 从仓库ID 修正为订单ID String(orderId)
4. 新增 14 个单元测试,全部通过
|
2026-07-07 17:06:43 +08:00 |
|
liufumingren
|
2817d17fc7
|
1
|
2026-07-06 00:33:12 +08:00 |
|
liufumingren
|
7854057244
|
chore: ESLint auto-fix formatting (JSDoc, spacing, quotes, line endings)
|
2026-07-04 23:30:32 +08:00 |
|
liufumingren
|
34273c166b
|
1
|
2026-07-02 22:08:47 +08:00 |
|
liufumingren
|
5ef99e3bed
|
1
|
2026-07-01 14:00:59 +08:00 |
|
liufumingren
|
77435aeb79
|
1
|
2026-06-23 18:48:33 +08:00 |
|
liufumingren
|
025184904a
|
1
|
2026-06-14 19:03:58 +08:00 |
|
liufumingren
|
0e50ff6671
|
1
|
2026-06-08 08:58:13 +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
|
8cf2c5befa
|
1
|
2026-05-20 16:31:29 +08:00 |
|
liufumingren
|
b629b59d4b
|
fix(print): callback sync order print_status by order_ids
|
2026-05-20 04:55:16 +08:00 |
|
liufumingren
|
9fca81e7b5
|
1
|
2026-05-19 16:33:58 +08:00 |
|
liufumingren
|
1d70c01631
|
1
|
2026-05-17 22:59:57 +08:00 |
|
liufumingren
|
cd01be6fbd
|
收货部分更改
|
2026-05-17 21:51:46 +08:00 |
|
liufumingren
|
e23bf4f15e
|
1
|
2026-05-17 03:23:57 +08:00 |
|
liufumingren
|
adb1a16599
|
1
|
2026-05-16 23:00:49 +08:00 |
|
liufumingren
|
9845a239e2
|
1
|
2026-05-16 02:44:53 +08:00 |
|
liufumingren
|
736ad34351
|
打印台管理变更
|
2026-05-14 15:57:51 +08:00 |
|
liufumingren
|
61c530c0cc
|
1
|
2026-05-14 04:00:07 +08:00 |
|
liufumingren
|
81785081a2
|
团购打印面单
|
2026-05-13 17:23:24 +08:00 |
|
liufumingren
|
0c3518e65d
|
1
|
2026-05-13 03:18:39 +08:00 |
|
liufumingren
|
9c2b254206
|
1
Co-authored-by: Copilot <copilot@github.com>
|
2026-05-11 08:44:27 +08:00 |
|
liufumingren
|
d711ba9c21
|
0506更新
Co-authored-by: Copilot <copilot@github.com>
|
2026-05-06 17:53:54 +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 |
|
liufumingren
|
622869787a
|
feat: sync workspace changes
|
2026-04-17 19:21:57 +08:00 |
|
liufumingren
|
e73a311076
|
ok
|
2026-04-11 17:09:06 +08:00 |
|
liufumingren
|
57f1f44bae
|
feat: sync wms updates
|
2026-04-09 15:45:14 +08:00 |
|
liufumingren
|
3d824a3a1d
|
chore: sync lint and service fixes
|
2026-04-09 01:36:49 +08:00 |
|
liufumingren
|
e590808062
|
feat: update receiving notification and report flow
|
2026-04-05 21:45:18 +08:00 |
|
liufumingren
|
920d201c0e
|
feat: refine setting role/account/permission auth and tests
|
2026-04-05 09:03:50 +08:00 |
|