zhangqian
2023-11-24 313617ceb05dd5194d2091c717a25cbf33ef39b9
request/product_request.go
@@ -28,8 +28,7 @@
type QueryDisuseList struct {
   PageInfo
   Number       string `json:"number"`
   SourceNumber string `json:"sourceNumber"`
   Number string `json:"number"`
}
type UpdateDisuse struct {
@@ -44,3 +43,19 @@
   OperationDate     string                     `json:"operationDate"`
   BaseOperationType constvar.BaseOperationType `json:"baseOperationType"`
}
type QueryOperationHistory struct {
   PageInfo
   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"`
}