From 308f6e93fe5142413c646a6a22e2213c662995ad Mon Sep 17 00:00:00 2001 From: kanade Date: Tue, 28 Oct 2025 13:53:52 +0800 Subject: [PATCH] =?UTF-8?q?feat(erp):=20=E6=B7=BB=E5=8A=A0=E6=A8=A1?= =?UTF-8?q?=E5=85=B7=E6=95=B0=E9=87=8F=E5=AD=97=E6=AE=B5=E5=88=B0=E9=94=80?= =?UTF-8?q?=E5=94=AE=E4=BA=A7=E5=93=81=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 SaleProductItem 结构体中新增 MoldCount 字段 - 为 MoldCount 字段添加 JSON 标签映射 - 更新相关序列化逻辑以支持新字段 --- erp/shipment/modify/saleProduct.go | 1 + 1 file changed, 1 insertion(+) diff --git a/erp/shipment/modify/saleProduct.go b/erp/shipment/modify/saleProduct.go index c466013..eb9f597 100644 --- a/erp/shipment/modify/saleProduct.go +++ b/erp/shipment/modify/saleProduct.go @@ -15,6 +15,7 @@ type saleProduct struct { type SaleProductItem struct { Id int64 `json:"id"` Mold int64 `json:"mold"` + MoldCount int64 `json:"moldCount"` ParentSaleProductId int64 `json:"parentSaleProductId"` SaleProductId int64 `json:"saleProductId"` PiSerial string `json:"piSerial"`