From f73f610cdf4b0666dc139a51e72353b88f8f25ab Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期四, 19 十月 2023 17:27:17 +0800
Subject: [PATCH] 为保证正确获取集群状态, 添加程序启动时读取system-service运行状态

---
 model/procedures.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/model/procedures.go b/model/procedures.go
index 64d3cbb..4c93059 100644
--- a/model/procedures.go
+++ b/model/procedures.go
@@ -11,7 +11,7 @@
 
 type (
 	Procedures struct {
-		gorm.Model         `json:"-"`
+		gorm.Model
 		WorkOrderID        string `gorm:"index;type:varchar(191);not null" json:"-"`
 		OrderID            string `gorm:"index;type:varchar(191);not null" json:"-"`
 		DeviceID           string `gorm:"index;type:varchar(191)" json:"deviceId"`

--
Gitblit v1.8.0