瀏覽代碼

fix:指标数据bug

Roc 2 年之前
父節點
當前提交
23ca497d4e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
 // GetTickerByChapterId
 func GetTickerByChapterId(reportChapterId int) (list []*ReportChapterTicker, err error) {
 func GetTickerByChapterId(reportChapterId int) (list []*ReportChapterTicker, err error) {
 	o := orm.NewOrmUsingDB("rddp")
 	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)
 	_, err = o.Raw(sql, reportChapterId).QueryRows(&list)
 	return
 	return
 }
 }