From efec800478214f3a412f879d2b51c2968515995d Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期六, 25 十一月 2023 17:04:25 +0800 Subject: [PATCH] plc断开连接时获取工序最后一次报工数量作为加工数 --- model/process_model_plc_address.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/model/process_model_plc_address.go b/model/process_model_plc_address.go index edf919e..857a202 100644 --- a/model/process_model_plc_address.go +++ b/model/process_model_plc_address.go @@ -18,7 +18,7 @@ ID uint `gorm:"primaryKey;" json:"id"` AddressList []*ProcessModelAddress `json:"addressList" gorm:"-"` Address string `json:"-" gorm:"address"` - DeviceID string `json:"deviceId" gorm:"column:deviceId;index;type:varchar(255)"` + DeviceID string `json:"deviceId" gorm:"column:device_id;index;type:varchar(255)"` } ProcessModelPlcAddressSearch struct { -- Gitblit v1.8.0