From 33db682e9e06adbc2259276fc9416f8d4eab1c6f Mon Sep 17 00:00:00 2001 From: kanade Date: Tue, 22 Jul 2025 16:49:33 +0800 Subject: [PATCH] =?UTF-8?q?refactor(purchase):=20=E7=A7=BB=E9=99=A4=20Purc?= =?UTF-8?q?haseProduct=20=E4=B8=AD=E7=9A=84=20MeasureUnit=20=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 从 PurchaseProduct 结构体中删除了 MeasureUnit 字段 - 此修改旨在简化数据结构并减少冗余信息 --- erp/purchase.go | 1 - 1 file changed, 1 deletion(-) diff --git a/erp/purchase.go b/erp/purchase.go index a63b8df..8fadadd 100644 --- a/erp/purchase.go +++ b/erp/purchase.go @@ -79,7 +79,6 @@ type PurchaseProduct struct { CurrencyName string // 币种名称 CurrencySymbol string // 币种符号 CurrencyRate decimal.Decimal // 币种汇率 - MeasureUnit string // 数量单位 Batches []PurchaseProductBatch // 产品批次 } type PurchaseProductBatch struct {