From ee017d37be0cc0ac385498f58970df8ec0de6d0e Mon Sep 17 00:00:00 2001 From: zouap Date: Mon, 20 Jun 2022 16:12:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0mindspore1.5=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E6=94=AF=E6=8C=81=E3=80=82=E5=90=8C=E6=97=B6=E5=B1=8F?= =?UTF-8?q?=E8=94=BD=E6=8E=89=E6=99=BA=E7=AE=97=E4=B8=AD=E5=BF=83=E7=9A=84?= =?UTF-8?q?=E6=A8=A1=E5=9E=8B=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- models/cloudbrain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/cloudbrain.go b/models/cloudbrain.go index 2d63a2f76..8ec088b28 100755 --- a/models/cloudbrain.go +++ b/models/cloudbrain.go @@ -1330,7 +1330,7 @@ func QueryModelTrainJobList(repoId int64) ([]*CloudbrainInfo, int, error) { builder.Eq{"job_type": "TRAIN"}, ) cond = cond.And( - builder.In("type", "0", "1"), + builder.In("type", 0, 1), ) cloudbrains := make([]*CloudbrainInfo, 0)