feat(shipment): 添加父级货运销售产品ID字段

- 在SaleProductItem结构体中新增ParentShipmentSaleProductId字段
- 用于关联父级货运销售产品关系
- 保持原有数据结构完整性
- 更新两个相关文件中的结构体定义
This commit is contained in:
2026-04-09 16:56:28 +08:00
parent 408b739e4c
commit cdd0ebe733
2 changed files with 160 additions and 158 deletions

View File

@@ -17,6 +17,7 @@ type SaleProductItem struct {
Mold int64 `json:"mold"` Mold int64 `json:"mold"`
MoldCount int64 `json:"moldCount"` MoldCount int64 `json:"moldCount"`
ParentSaleProductId int64 `json:"parentSaleProductId"` ParentSaleProductId int64 `json:"parentSaleProductId"`
ParentShipmentSaleProductId int64 `json:"parentShipmentSaleProductId"`
SaleProductId int64 `json:"saleProductId"` SaleProductId int64 `json:"saleProductId"`
PiSerial string `json:"piSerial"` PiSerial string `json:"piSerial"`
Sort int64 `json:"sort"` Sort int64 `json:"sort"`

View File

@@ -17,6 +17,7 @@ type SaleProductItem struct {
Mold int64 `json:"mold"` Mold int64 `json:"mold"`
MoldCount int64 `json:"moldCount"` MoldCount int64 `json:"moldCount"`
ParentSaleProductId int64 `json:"parentSaleProductId"` ParentSaleProductId int64 `json:"parentSaleProductId"`
ParentShipmentSaleProductId int64 `json:"parentShipmentSaleProductId"`
SaleProductId int64 `json:"saleProductId"` SaleProductId int64 `json:"saleProductId"`
PiSerial string `json:"piSerial"` PiSerial string `json:"piSerial"`
Sort int64 `json:"sort"` Sort int64 `json:"sort"`