fix: 课程列表默认排序,只保留系统创建时长倒排

This commit is contained in:
liu.zixi
2025-11-26 19:49:03 +08:00
parent b95dc520f0
commit 3392602854

View File

@@ -362,7 +362,7 @@ public class CourseDao extends BaseDao<Course> {
builder.append("c.").append(orderFieldSql).append(" ").append(orderAscStr).append(", ");
}
}
builder.append("c.is_top DESC, c.sort_weight ASC, c.sys_create_time DESC");
builder.append("c.sys_create_time DESC");
}
private void setQueryParams(Query query,