From 212ca5a7e50aae863b9ad633c0117ec1551d2cb1 Mon Sep 17 00:00:00 2001 From: kanade Date: Tue, 29 Jul 2025 11:33:42 +0800 Subject: [PATCH] =?UTF-8?q?feat(purchase):=20=E6=B7=BB=E5=8A=A0=E9=94=80?= =?UTF-8?q?=E5=94=AE=20ID=20=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在 ReplyPurchaseInfo 结构体中添加 SaleId 字段,用于关联销售订单 ID。 --- erp/purchase.go | 1 + 1 file changed, 1 insertion(+) diff --git a/erp/purchase.go b/erp/purchase.go index 8fadadd..54f5df6 100644 --- a/erp/purchase.go +++ b/erp/purchase.go @@ -99,6 +99,7 @@ func (p *purchase) Add(ctx context.Context, args ArgsPurchaseAdd) (err error) { type ReplyPurchaseInfo struct { PurchaseId int64 `json:"purchaseId"` + SaleId int64 `json:"saleId"` FactoryId int64 `json:"factoryId"` FactoryName string `json:"factoryName"` FactoryAddress string `json:"factoryAddress"`