Browse Source

fix:指标数据bug

Roc 2 years ago
parent
commit
23ca497d4e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/tables/rddp/report_chapter_ticker/report_chapter_ticker.go

+ 1 - 1
models/tables/rddp/report_chapter_ticker/report_chapter_ticker.go

@@ -17,7 +17,7 @@ type ReportChapterTicker struct {
 // GetTickerByChapterId
 func GetTickerByChapterId(reportChapterId int) (list []*ReportChapterTicker, err error) {
 	o := orm.NewOrmUsingDB("rddp")
-	sql := `SELECT * FROM report_chapter WHERE  report_chapter_id = ?  `
+	sql := `SELECT * FROM report_chapter_ticker WHERE  report_chapter_id = ?  `
 	_, err = o.Raw(sql, reportChapterId).QueryRows(&list)
 	return
 }