From f838162ed0ee7f2832924c2399eddd461760135a Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 13 十月 2023 21:47:54 +0800 Subject: [PATCH] plc地址和工艺参数不再单独拉取,只serf主启动时拉取 --- model/production_progress.go | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/model/production_progress.go b/model/production_progress.go index 3fdb02c..bbdeb98 100644 --- a/model/production_progress.go +++ b/model/production_progress.go @@ -9,13 +9,13 @@ type ( ProductionProgress struct { gorm.Model - WorkOrderID string `gorm:"index;type:varchar(191);not null;comment:宸ュ崟ID" json:"workOrderID"` - OrderID string `gorm:"index;type:varchar(191);not null;comment:璁㈠崟ID" json:"orderID"` - ProcedureID string `gorm:"type:varchar(191);comment:宸ュ簭ID" json:"procedureId"` - DeviceID string `gorm:"type:varchar(191);not null;comment:璁惧ID" json:"deviceId"` - FinishedQuantity int64 `gorm:"type:int;not null;comment:瀹屾垚鏁伴噺" json:"finishedQuantity"` - Channel int32 `gorm:"type:int;comment:宸ヤ綔閫氶亾" json:"channel"` //閫氶亾 - TotalQuantity int64 `gorm:"type:int;not null;comment:鎬婚噺" json:"totalQuantity"` + WorkOrderID string `gorm:"index;type:varchar(191);not null" json:"workOrderID"` + OrderID string `gorm:"index;type:varchar(191);not null" json:"orderID"` + ProcedureID string `gorm:"type:varchar(191)" json:"procedureId"` + DeviceID string `gorm:"type:varchar(191);not null" json:"deviceId"` + FinishedQuantity int64 `gorm:"type:int;not null" json:"finishedQuantity"` + Channel int32 `gorm:"type:int" json:"channel"` //閫氶亾 + TotalQuantity int64 `gorm:"type:int;not null" json:"totalQuantity"` } ProductionProgressSearch struct { -- Gitblit v1.8.0