kobe6258 5 өдөр өмнө
parent
commit
80cfb502d4

+ 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