From 20bbbcc1d14536ddaa498ac84a6008828df8dc1c Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期三, 13 十二月 2023 20:23:11 +0800 Subject: [PATCH] 往plc写目标数时,优先往写入地址写,没有写入地址再往读取地址写 --- model/task_status_sync.go | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/model/task_status_sync.go b/model/task_status_sync.go index 093cb8f..63d1428 100644 --- a/model/task_status_sync.go +++ b/model/task_status_sync.go @@ -10,7 +10,7 @@ type ( // TaskStatusSync 浠诲姟鐘舵�佸悓姝� TaskStatusSync struct { - gorm.Model + CommonModel WorkOrderId string `json:"workOrderId"` //宸ュ崟缂栧彿 ProductProcedureID string `gorm:"type:varchar(191);" json:"productProcedureID"` //浜у搧宸ュ簭id ProcedureID string `json:"procedureId"` // 宸ュ簭缂栧彿 -- Gitblit v1.8.0