From b652db9992cc5796702359a0c85f84fc7625fe84 Mon Sep 17 00:00:00 2001 From: kanade Date: Wed, 5 Nov 2025 11:37:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(erp):=E4=BA=A7=E5=93=81=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0PI=E5=BA=8F=E5=88=97=E5=8F=B7=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在产品结构体中添加PiSerial字段 - 支持PI序列号的JSON序列化和反序列化- 保持与其他序列号字段一致的命名规范 --- erp/accounting/product.go | 1 + 1 file changed, 1 insertion(+) diff --git a/erp/accounting/product.go b/erp/accounting/product.go index 9490759..d118d1c 100644 --- a/erp/accounting/product.go +++ b/erp/accounting/product.go @@ -16,6 +16,7 @@ type ProductItem struct { SaleProductId int64 `json:"saleProductId"` Sort int64 `json:"sort"` Serial string `json:"serial"` + PiSerial string `json:"piSerial"` CustomSerial string `json:"customSerial"` Name string `json:"name"` CustomsSerial string `json:"customsSerial"`