瀏覽代碼

no message

zhangchuanxing 4 月之前
父節點
當前提交
bac1ed4663
共有 1 個文件被更改,包括 1 次插入1 次删除
  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
 }