Browse Source

Merge branch 'refs/heads/eta_2.0.8_ly_0804@guomengyuan' into debug

gmy 8 months ago
parent
commit
9736fdd776
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/data_manage/base_from_ly_index.go

+ 1 - 1
models/data_manage/base_from_ly_index.go

@@ -59,7 +59,7 @@ func GetLyIndexByClassifyIds(classifyIds []int) (items []*BaseFromLyIndex, err e
 
 // GetLyIndexCount 获取指标总数
 func GetLyIndexCount(classifyId string, searchParam string) (count int, err error) {
-	o := orm.NewOrm()
+	o := orm.NewOrmUsingDB("data")
 	qs := o.QueryTable("base_from_ly_index")
 
 	// 精确匹配 classifyId