mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-13 21:06:48 +08:00
取消第二排序
This commit is contained in:
@@ -151,9 +151,9 @@ public class CourseTagDao extends BaseDao<CourseTag> {
|
|||||||
parameters.add("%" + tagName + "%");
|
parameters.add("%" + tagName + "%");
|
||||||
}
|
}
|
||||||
sql.append(") AS all_tags ");
|
sql.append(") AS all_tags ");
|
||||||
sql.append("ORDER BY ");
|
|
||||||
|
|
||||||
if (StringUtils.isNotBlank(typeId)) {
|
if (StringUtils.isNotBlank(typeId)) {
|
||||||
|
sql.append("ORDER BY ");
|
||||||
sql.append(" CASE WHEN id IN ( ");
|
sql.append(" CASE WHEN id IN ( ");
|
||||||
sql.append(" SELECT tag_id ");
|
sql.append(" SELECT tag_id ");
|
||||||
sql.append(" FROM boe_course_type_tag_relation ");
|
sql.append(" FROM boe_course_type_tag_relation ");
|
||||||
|
|||||||
Reference in New Issue
Block a user