@@ -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