feat(erp):为采购产品项添加采购产品ID字段- 在 PurchaseProductItem 结构体中新增 PurchaseProductId 字段

- 更新 shipment/modify/saleProduct.go 中的结构体定义
- 更新 shipment/saleProduct.go 中的结构体定义
This commit is contained in:
守护自己的云 2025-09-29 11:43:10 +08:00
parent 49e1b5050d
commit 946e1c93bd
2 changed files with 2 additions and 0 deletions

View File

@ -93,6 +93,7 @@ type SaleProductItem struct {
} }
type PurchaseProductItem struct { type PurchaseProductItem struct {
ShipmentPurchaseProductId int64 `json:"shipmentPurchaseProductId"` ShipmentPurchaseProductId int64 `json:"shipmentPurchaseProductId"`
PurchaseProductId int64 `json:"purchaseProductId"`
ShipmentCount int64 `json:"shipmentCount"` ShipmentCount int64 `json:"shipmentCount"`
} }
type ArgsSaleProductSearch struct { type ArgsSaleProductSearch struct {

View File

@ -95,6 +95,7 @@ type SaleProductItem struct {
type PurchaseProductItem struct { type PurchaseProductItem struct {
ShipmentPurchaseProductId int64 `json:"shipmentPurchaseProductId"` ShipmentPurchaseProductId int64 `json:"shipmentPurchaseProductId"`
PurchaseProductId int64 `json:"purchaseProductId"`
ShipmentCount int64 `json:"shipmentCount"` ShipmentCount int64 `json:"shipmentCount"`
} }
type ArgsSaleProductSearch struct { type ArgsSaleProductSearch struct {