jiangshuai
2023-12-08 27be7a2c517404e4622470edf7b83b13129220ff
models/move_history.go
@@ -17,8 +17,8 @@
      BaseOperationType constvar.BaseOperationType `json:"baseOperationType" gorm:"type:tinyint;not null;comment:基础作业类型"`      //基础作业类型
      OperationTypeId   int                        `json:"operationTypeId" gorm:"type:int;not null;comment:作业类型id"`            //作业类型id
      OperationTypeName string                     `json:"operationTypeName" gorm:"type:varchar(127);not null;comment:作业类型名称"` //作业类型名称
      OperationId       int                        `json:"operationRecordId" gorm:"type:int;not null;comment:操作id"`            //操作id
      ProductId         int                        `json:"productId" gorm:"type:int;not null;comment:产品id"`                    //产品id
      OperationId       int                        `json:"operationId" gorm:"type:int;not null;comment:操作id"`                  //操作id
      ProductId         string                     `json:"productId" gorm:"type:varchar(255);not null;comment:产品id"`           //产品id
      ProductName       string                     `json:"productName" gorm:"type:varchar(255);not null;comment:产品名称"`         //产品名称
      Amount            decimal.Decimal            `json:"amount" gorm:"type:decimal(20,2);not null;comment:数量"`               //数量
      Unit              string                     `json:"unit" gorm:"type:char(10);not null;comment:单位"`                      //单位