Browse Source

no message

xingzai 2 years ago
parent
commit
699e12a17e
1 changed files with 6 additions and 0 deletions
  1. 6 0
      models/report.go

+ 6 - 0
models/report.go

@@ -266,6 +266,9 @@ func GetReportAndproductInteriorIndustrialList(pars []interface{}, categoryId, i
 	o := orm.NewOrm()
 	o := orm.NewOrm()
 	sql := `SELECT
 	sql := `SELECT
 			art.article_id,
 			art.article_id,
+			art.body,
+			art.annotation,
+			art.abstract,
 			art.category_id,
 			art.category_id,
 			art.title,
 			art.title,
 			art.publish_date,
 			art.publish_date,
@@ -283,6 +286,9 @@ func GetReportAndproductInteriorIndustrialList(pars []interface{}, categoryId, i
 			art.article_id UNION ALL
 			art.article_id UNION ALL
 		SELECT
 		SELECT
 			art.product_interior_id AS article_id,
 			art.product_interior_id AS article_id,
+			art.body,
+			"",
+			art.abstract,
 			0 as  category_id,
 			0 as  category_id,
 			art.title,
 			art.title,
 			art.publish_time AS publish_date,
 			art.publish_time AS publish_date,