feat(product): 新增产品装箱数量字段
- 在销售产品结构体中添加 BoxAmount 字段 - 使用 decimal.Decimal 类型支持精确数值计算 - 字段对应 JSON 键名为 boxAmount
This commit is contained in:
@@ -280,6 +280,7 @@ type ReplyProductInfo struct {
|
|||||||
PurchasedCount int64 `json:"purchasedCount"`
|
PurchasedCount int64 `json:"purchasedCount"`
|
||||||
ShipmentCount int64 `json:"shipmentCount"`
|
ShipmentCount int64 `json:"shipmentCount"`
|
||||||
ShippedCount int64 `json:"shippedCount"`
|
ShippedCount int64 `json:"shippedCount"`
|
||||||
|
BoxAmount decimal.Decimal `json:"boxAmount"`
|
||||||
AccountingCount int64 `json:"accountingCount"`
|
AccountingCount int64 `json:"accountingCount"`
|
||||||
AccountedCount int64 `json:"accountedCount"`
|
AccountedCount int64 `json:"accountedCount"`
|
||||||
CreatedAt *time.Time `json:"createdAt"`
|
CreatedAt *time.Time `json:"createdAt"`
|
||||||
|
|||||||
Reference in New Issue
Block a user