From dd75b36c03049be232a94d97eff1c4a5cc751fb5 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 31 十月 2023 22:08:39 +0800 Subject: [PATCH] 支持设备ID切换 --- 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 503af79..78560b3 100644 --- a/model/task_status_sync.go +++ b/model/task_status_sync.go @@ -71,7 +71,7 @@ } if len(slf.IDs) != 0 { - db = db.Where("id in ?", slf.IDs) + db = db.Where("id in (?)", slf.IDs) } if slf.Order != "" { -- Gitblit v1.8.0