Add SKU batch handling and formatting
Add Batch and BatchFormat fields to LySku and BatchFormatItem type. Populate Batch in InitSkuData and invoke GetSkuBatchFormat in LyGoodsDetail. Implement GetSkuBatchFormat and getSupplierBatch to parse batch JSON or read supplier optional batch codes from Redis and map them to human-readable labels
Showing
with
98 additions
and
0 deletions
service/service_sku_batch.go
0 → 100644
Please
register
or
sign in
to comment