浏览代码

Merge branch 'cygx_8.3' into debug

ziwen 2 年之前
父节点
当前提交
b3b4848938
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      models/report.go

+ 1 - 3
models/report.go

@@ -897,9 +897,7 @@ FROM
 		AND mmc.industry_id = ? 
 	) AS t 
 `
-	sql += `  GROUP BY
-	t.id 
-ORDER BY
+	sql += ` ORDER BY 
 	t.publish_time DESC LIMIT ?,? `
 	_, err = o.Raw(sql, industrialManagementId, industrialManagementId, startSize, pageSize).QueryRows(&items)
 	return