浏览代码

no message

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,