request/operation.go
@@ -3,7 +3,6 @@
import (
   "google.golang.org/genproto/googleapis/type/decimal"
   "wms/constvar"
   "wms/extend/util"
)
type AddOperation struct {
@@ -14,7 +13,7 @@
   Status          constvar.OperationStatus `json:"status" gorm:"type:int(11);not null;comment:状态"`          //状态
   FromLocationId  int                      `json:"fromLocationId"   gorm:"type:int;not null;comment:源位置id"` //源位置id
   ToLocationId    int                      `json:"toLocationId"    gorm:"type:int;not null;comment:目标位置id"` //目标位置id
   OperationDate   util.JSONTime            `json:"operationDate" gorm:"comment:安排日期"`
   OperationDate   string                   `json:"operationDate" gorm:"type:varchar(31);comment:安排日期"`
   Details         []*OperationDetails      `json:"details"`
}