You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chenchuchuan
29d41da00f
feat(yqn): 按 API 101 对接查询入库计划
- 路径 /inbound/InboundPlanQuery → /v1/inbound/getInboundPlanInfo
- 入参只有 orderNo,入库单号与来源单号都能传
- 补齐 create 之后空着的能力:get() 返回完整详情,query() 按单号查一条
入库单模型按响应重写:
- 新增 InboundStatus 枚举,把运去哪的 0/5/6/8/10/16/17/20/25/70/100
归一化;未知码归 UNKNOWN,不猜
- InboundOrder 补 estimatedArrivalAt / actualArrivalAt / shipper 四项 /
totalWeightKg / totalVolumeCbm / inventoryType / lines
- 新增 InboundOrderLine:计划 / 装箱 / 实收 / 可售 / 不可售五个数量分开存,
并给 quantityMatchesPlan() 供对账判断短少与溢装
两点保守处理:
- createdAt 留 null:响应里只有 estimateArrive / actualArrive /
firstReception,没有下单时间
- 状态码按精确匹配,不做包含判断:运去哪的码是整数枚举,模糊匹配会把
6(审核拒回) 误判成 16(收货中)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2 weeks ago |
| .. |
|
src
|
feat(yqn): 按 API 101 对接查询入库计划
|
2 weeks ago |
|
pom.xml
|
feat(warehouse): 新增仓库域 SDK 内核与运去哪 P1 出库闭环
|
2 weeks ago |