diff --git a/erp/sale/product.go b/erp/sale/product.go index 3bd541b..9c0b38c 100644 --- a/erp/sale/product.go +++ b/erp/sale/product.go @@ -73,6 +73,7 @@ type ProductListItem struct { SaleCreatedAt *time.Time `json:"saleCreatedAt"` PurchasedCount int64 `json:"purchasedCount"` ShipmentCount int64 `json:"shipmentCount"` + ShipmentdCount int64 `json:"shipmentdCount"` } // List @TITLE 产品列表 @@ -119,6 +120,9 @@ type ProductItem struct { CurrencySymbol string `json:"currencySymbol"` CurrencyRate decimal.Decimal `json:"currencyRate"` PurchaseCount int64 `json:"purchaseCount"` + PurchasedCount int64 `json:"purchasedCount"` + ShipmentCount int64 `json:"shipmentCount"` + ShipmentdCount int64 `json:"shipmentdCount"` CreatedAt *time.Time `json:"createdAt"` UpdatedAt *time.Time `json:"updatedAt"` Children []*ProductItem `json:"children"` diff --git a/erp/shipment/saleProduct.go b/erp/shipment/saleProduct.go index 0905ba8..3280393 100644 --- a/erp/shipment/saleProduct.go +++ b/erp/shipment/saleProduct.go @@ -64,6 +64,8 @@ type SaleProductItem struct { SealNumber string `json:"sealNumber"` PurchasePrice decimal.Decimal `json:"purchasePrice"` PurchaseAmount decimal.Decimal `json:"purchaseAmount"` + IsSerial int64 `json:"isSerial"` + IsCustoms int64 `json:"isCustoms"` CreatedAt *time.Time `json:"createdAt"` UpdatedAt *time.Time `json:"updatedAt"` }