Browse Source

Merge remote-tracking branch 'origin/dm'

Roc 1 month ago
parent
commit
ee91fcb784
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/data_manage/ai_predict_model/framework.go

+ 1 - 1
controllers/data_manage/ai_predict_model/framework.go

@@ -633,7 +633,7 @@ func (c *AiPredictModelFrameworkController) Detail() {
 		indexIdNum := len(aiPredictModelIndexIdList)
 		if indexIdNum > 0 {
 			indexObj := aiPredictModel.AiPredictModelIndex{}
-			indexList, e := indexObj.GetItemsByCondition(` AND ai_predict_model_index_id in (`+utils.GetOrmInReplace(indexIdNum)+`)`, aiPredictModelIndexIdList, []string{}, "")
+			indexList, e := indexObj.GetItemsByCondition(` AND ai_predict_model_index_id in (`+utils.GetOrmInReplace(indexIdNum)+`)`, []interface{}{aiPredictModelIndexIdList}, []string{}, "")
 			if e != nil {
 				if utils.IsErrNoRow(e) {
 					br.Msg = "框架不存在, 请刷新页面"