xingzai преди 2 години
родител
ревизия
699e12a17e
променени са 1 файла, в които са добавени 6 реда и са изтрити 0 реда
  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,