xingzai %!s(int64=2) %!d(string=hai) anos
pai
achega
699e12a17e
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      models/report.go

+ 6 - 0
models/report.go

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