feat(erp): 添加模具数量字段到销售产品项
- 在 SaleProductItem 结构体中新增 MoldCount 字段 - 为 MoldCount 字段添加 JSON 标签映射 - 更新相关序列化逻辑以支持新字段
This commit is contained in:
parent
a4b2db03de
commit
308f6e93fe
@ -15,6 +15,7 @@ type saleProduct struct {
|
|||||||
type SaleProductItem struct {
|
type SaleProductItem struct {
|
||||||
Id int64 `json:"id"`
|
Id int64 `json:"id"`
|
||||||
Mold int64 `json:"mold"`
|
Mold int64 `json:"mold"`
|
||||||
|
MoldCount int64 `json:"moldCount"`
|
||||||
ParentSaleProductId int64 `json:"parentSaleProductId"`
|
ParentSaleProductId int64 `json:"parentSaleProductId"`
|
||||||
SaleProductId int64 `json:"saleProductId"`
|
SaleProductId int64 `json:"saleProductId"`
|
||||||
PiSerial string `json:"piSerial"`
|
PiSerial string `json:"piSerial"`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user