|
@@ -633,7 +633,7 @@ func (c *AiPredictModelFrameworkController) Detail() {
|
|
|
indexIdNum := len(aiPredictModelIndexIdList)
|
|
|
if indexIdNum > 0 {
|
|
|
indexObj := aiPredictModel.AiPredictModelIndex{}
|
|
|
- indexList, e := indexObj.GetItemsByCondition(`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)+`)`, aiPredictModelIndexIdList, []string{}, "")
|
|
|
if e != nil {
|
|
|
if e.Error() == utils.ErrNoRow() {
|
|
|
br.Msg = "框架不存在, 请刷新页面"
|