liufumingren
|
59bd112893
|
refactor: 移除 order.print.getWavePrintData 接口(已被 getWavePlatformPrintData 替代)
|
2026-08-02 17:15:12 +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
|
d6e4de6edc
|
fix(wave): 波次订单移出/取消后 wms_order_wave_index 未重新排序
- batchRemoveOrders: 用 replaceOrderWaveIndexByWaveIds 替换手动 COUNT,移出后自动重排 wave_index
- cancelWavePickTasksInternal: PDA拣货任务取消释放波次时清理 wms_order_wave_index
- batchFinishAutoGrouping: 关闭自动加团前重建波次索引,确保 wave_index 连续
- cancelOrder(pendingOrder): 取消待处理订单后重建受影响波次索引
- cloneOrder: 克隆取消原订单时清理波次关联并重建索引
- Qimen取消: 奇门取消订单后重建波次索引
- OpenAPI取消: 新增完整波次清理逻辑(清除wave_id+删索引+重建+更新WaveBatch)
- 新增 resortWaveIndex 内部方法用于强制重排历史数据
|
2026-08-02 00:35:56 +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
|
76e25db7da
|
feat(apiApp): 新增仓库 API 应用管理模块
- 新增 systems/apiApp.js 业务层:CRUD + AppKey/Secret 自动生成 + 仓库隔离
- 新增 systemMethods/apiApp.js 入口层:list/detail/create/update/delete/regenerateSecret
- 注册 methods/system.json API 文档 + changes 变更记录
- 新增迁移脚本:wms_permission 固定 ID 464-470 + 客服组主管及以上角色授权
|
2026-08-01 03:39:41 +08:00 |
|
liufumingren
|
635e86f984
|
chore: 提交当前所有变更,准备开始 allocateSubOrderNumber step=4 改造
|
2026-07-29 13:57:04 +08:00 |
|
liufumingren
|
fb2c00027e
|
refactor(storage.receiving): 导出功能 storeId 改为从 ctx.user.store_id 获取 warehouseId;新增导出相关接口文档
|
2026-07-27 17:46:56 +08:00 |
|
liufumingren
|
000597fecc
|
fix(order.recheckOrder): waybill_code 加入散单复核列表响应字段
|
2026-07-27 17:46:42 +08:00 |
|
liufumingren
|
d11ed3b2a2
|
feat(order.pendingOrder): 新增 allocateSubOrderNumber 子单号异步分配接口与进度查询
|
2026-07-27 17:46:26 +08:00 |
|
liufumingren
|
f9fbf96ce5
|
feat(order.packing): 新增 has_video/video_enable 录像筛选与响应字段;运单号改为 express 表解析;setEndTime 增加开始时间校验;forceRecord 优化错误处理
|
2026-07-27 17:46:03 +08:00 |
|
liufumingren
|
19c3fe09a7
|
refactor(weight): 重量字段统一为 INTEGER(g),取代 DECIMAL(kg)
- 8 个 model 重量字段类型 DECIMAL→INTEGER,注释 kg→g
- order_express 称重校验改为正整数(g)
- delivery_order 手动单查 StockStore + warehouse 称重毛重
- openapi.json 毛重/净重描述 kg→g
- 迁移: 20260725120000-unify-weight-fields-to-int-g
- 脚本: update-stock-warehouse-weight.cjs
|
2026-07-27 03:46:07 +08:00 |
|
liufumingren
|
aedd815e17
|
feat(order.packing): 新增打包任务模块 list/get/setEndTime/forceRecord 方法及视频 CDN URL 拼接
- 新增 order.packing.list: 打包任务列表查询,支持分页/筛选/排序,关联工作台/视频/运单
- 新增 order.packing.get: 打包任务详情查询
- 新增 order.packing.setEndTime: 设置结束时间,未完成任务自动标记为已完成
- 新增 order.packing.forceRecord: 强制重新录制,推送打印服务
- pack_task_video Model status 从 TINYINT 改为 STRING(20) 匹配 DB ENUM
- 视频 URL 拼接 CDN 前缀: http://w{warehouseId}-c{computerId}.o.gztbyc.com{videoPath}
- 录制电脑从 wms_print_computer(is_recording=true) + Redis 在线校验获取
- 更新 methods/system.json 与 methods/changes/system.json 文档
|
2026-07-27 03:41:24 +08:00 |
|
liufumingren
|
df8173cecd
|
feat: 新增 stock.transaction 商品流水导出 + keyword 商品搜索
- systems/stock_transaction.js: 新增 exportList() 异步导出 Excel(上限50000条)
- 新增 _resolveKeywordToStockIds() 关键词→stock_id 解析
- queryList/exportList 支持 keyword 模糊搜索(按 item_code/item_name/goods_code/barcode/SKU ID)
- systemMethods/stock/transaction.js:
- 新增 export/exportStore/exportTaskProgress 异步导出方法
- list/storeList/export/exportStore 全部透传 keyword
- storeList 新增 warehouse_id/stock_id 单数兼容
- methods/system.json + changes/system.json: 新增3个method文档
|
2026-07-17 01:48:12 +08:00 |
|
liufumingren
|
3e813c4975
|
fix: 将 storage.report 模块迁移至 stock.report,修正语义错误
库存报表属于 stock(商品库存)域而非 storage(库位存储)域。
变更:
- systemMethods/storage/report.js → systemMethods/stock/report.js
- 类名 StorageReportMethodService → StockReportMethodService
- 缓存键 storage_report_export_ → stock_report_export_
- 日志前缀 [storage.report] → [stock.report]
- methods/system.json: module + 5 method 名同步更新
- methods/changes/system.json: 追加迁移记录
- systems/storage/entry.js: 注释引用修正
旧文件直接删除,不保留兼容(旧 method 名为语义错误)。
|
2026-07-17 00:30:54 +08:00 |
|
liufumingren
|
6d58d7ff1f
|
docs: 仓储报表微调 + methods 接口文档同步更新
- storage/report: 报表逻辑微调
- methods/system.json: storeWarehouse 系列接口文档更新
- methods/changes/system.json: 新增 2026.07.08/07.09 变更记录
|
2026-07-09 03:36:19 +08:00 |
|
liufumingren
|
76c52fa268
|
use_status 重命名为 warehouse_use_status,新增 store_use_status;仓库/货主侧独立控制签约使用状态,unbind 按身份分派字段
|
2026-07-06 22:12:23 +08:00 |
|
liufumingren
|
9c6d984ebc
|
新增 stock.transaction.list API:商品出入库流水查询(仓库/货主侧自适应),含 system.json 文档注册
|
2026-07-06 22:07:02 +08:00 |
|
liufumingren
|
223e42fcf6
|
文档变更
|
2026-07-06 17:19:26 +08:00 |
|
liufumingren
|
2817d17fc7
|
1
|
2026-07-06 00:33:12 +08:00 |
|
liufumingren
|
7f05b26db2
|
1
|
2026-07-04 21:40:31 +08:00 |
|
liufumingren
|
5d7964132e
|
1
|
2026-07-03 16:56:39 +08:00 |
|
liufumingren
|
478ad2ab0d
|
1
|
2026-07-03 16:10:46 +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
|
e7fcd2549e
|
20260625
|
2026-06-25 02:01:59 +08:00 |
|
liufumingren
|
569a25390f
|
1
|
2026-06-24 07:36:43 +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
|
0b207a1c9c
|
1
|
2026-06-10 09:14:05 +08:00 |
|
liufumingren
|
43c60dd934
|
1
|
2026-06-09 14:12:02 +08:00 |
|
liufumingren
|
0e50ff6671
|
1
|
2026-06-08 08:58:13 +08:00 |
|
liufumingren
|
c2b5ffc319
|
1
|
2026-06-07 20:42:24 +08:00 |
|
liufumingren
|
eb100b056d
|
1
|
2026-06-07 01:52:06 +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
|
608d7741c1
|
1
|
2026-05-17 23:36:18 +08:00 |
|
liufumingren
|
1d70c01631
|
1
|
2026-05-17 22:59:57 +08:00 |
|
liufumingren
|
cd01be6fbd
|
收货部分更改
|
2026-05-17 21:51:46 +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
|
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 |
|