浏览代码

过滤自由布局

kobe6258 3 天之前
父节点
当前提交
80cfb502d4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      models/tables/rddp/report_chapter/query.go

+ 1 - 1
models/tables/rddp/report_chapter/query.go

@@ -218,7 +218,7 @@ WHERE
 	AND a.classify_id_first = ?
 and ru.report_layout in (1,2)
 ORDER BY
-	publish_time DESC `
+	a.publish_time DESC `
 	err = global.MYSQL["rddp"].Raw(sql, minClassifyId).First(&items).Error
 
 	return