request/product_request.go
@@ -49,3 +49,13 @@ ProductId string `json:"productId"` LocationId int `json:"locationId"` } type ProductStatistics struct { TotalAmount decimal.Decimal `gorm:"column:total_amount"` BaseOperationType constvar.BaseOperationType `gorm:"column:base_operation_type"` //基础作业类型 } type ProductStatisticsAmount struct { ProductId string `gorm:"column:product_id"` TotalAmount decimal.Decimal `gorm:"column:total_amount"` }