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
d8b3bdec55
feat(edayun): 对接商品条码打印
POST /webApi/skuInfo/v2/printBarcode → WarehouseLabel
与入库 SKU 贴标(inbound().printSkuLabel)不是一回事:
- 那个绑定入库计划单、14 种小纸尺寸、异步返回任务号
- 这个按任意 SKU 打、4 档纸张、同步返回 PDF 地址
纸张集合完全不重叠,所以新建 BarcodePaperSize 而不是复用 SkuLabelSizeType。
新增 core 层 BarcodePrintCapable / BarcodePrintCommand / BarcodePaperSize,
能力位 BARCODE_PRINT,门面 printBarcodes(cmd)。
本地提前挡两条(仓方对这两条的返回都是「内部服务器错误」,看不出原因):
- SKU 数 > 50(仓方提示「最多打印50个SKU」)
- 份数 <= 0
isPrintSkuName 只在 true 时下发,false 交给仓方默认。
真机(2026-11-16):ybtest + A4 拿到真实 PDF;四种纸张尺寸都 code=200。
其余实测校验:缺 productInfos →「产品信息不能为空」、缺 pageSize →
「纸张尺寸不能为空」、pageSize 非法 / num=0 →「内部服务器错误」、
SKU 不存在 →「sku=XXX信息不存在」。
Co-Authored-By: Claude <noreply@anthropic.com>
|
4 days ago |
| .. |
|
src/main/java/common/ecommerce/warehouse
|
feat(edayun): 对接商品条码打印
|
4 days ago |
|
pom.xml
|
feat(warehouse): 新增仓库域 SDK 内核与运去哪 P1 出库闭环
|
2 weeks ago |