From e3e5b224ff6576e0266e63728dff5870d7c8877d Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期二, 07 十一月 2023 09:46:55 +0800
Subject: [PATCH] 设备信息增加设备名称字段

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

diff --git a/model/process_model.go b/model/process_model.go
index 253860f..1614b26 100644
--- a/model/process_model.go
+++ b/model/process_model.go
@@ -144,7 +144,7 @@
 	}
 
 	if len(slf.Numbers) != 0 {
-		db = db.Where("number in ?", slf.Numbers)
+		db = db.Where("number in (?)", slf.Numbers)
 	}
 
 	return db

--
Gitblit v1.8.0