model/process_model_plc_address.go
@@ -15,10 +15,10 @@ // ProcessModelPlcAddress 工艺参数plc读写地址 ProcessModelPlcAddress struct { ID uint `gorm:"primaryKey;" json:"id"` CommonModel 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 {