zhangchuanxing hai 4 meses
pai
achega
bac1ed4663
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      models/article.go

+ 1 - 1
models/article.go

@@ -1056,7 +1056,7 @@ func GetCygxCygxArticleListByReportIds(reportIds []int) (items []*CygxArticle, e
 // 已经同步到查研的FICC研报列表
 func GetCygxCygxArticleFiccReportList() (items []*CygxArticle, err error) {
 	o := orm.NewOrm()
-	sql := `SELECT article_id ,report_id FROM cygx_article as art WHERE report_id > 0 `
+	sql := `SELECT article_id ,report_id,publish_status FROM cygx_article as art WHERE report_id > 0 `
 	_, err = o.Raw(sql).QueryRows(&items)
 	return
 }