From 96dc30f219759a52bc4fdc021239b66ae108f9e7 Mon Sep 17 00:00:00 2001 From: Gary Date: Mon, 4 Mar 2024 09:59:11 +0800 Subject: [PATCH] 1.update style filter condition --- luoo_music/src/main/java/com/luoo/music/dao/TagDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luoo_music/src/main/java/com/luoo/music/dao/TagDao.java b/luoo_music/src/main/java/com/luoo/music/dao/TagDao.java index 02b560b..4c31eed 100644 --- a/luoo_music/src/main/java/com/luoo/music/dao/TagDao.java +++ b/luoo_music/src/main/java/com/luoo/music/dao/TagDao.java @@ -22,7 +22,7 @@ public interface TagDao extends JpaRepository, JpaSpecificationExec @Query(value = "select * from tb_tag_info where state=1 and parent_id=(select id from tb_tag_info where name_en='Language' and level=1 limit 1) ", nativeQuery = true) List getLanguageList(); - @Query(value = "select * from tb_tag_info where state=1 and is_show=1 and not name_en='Language' order by create_time", nativeQuery = true) + @Query(value = "select * from tb_tag_info where state=1 and is_show=1 and level=1 and not name_en='Language' order by create_time", nativeQuery = true) List getStyleList(); @Query(value = "select * from tb_tag_info where state=1 and is_show=1 order by create_time", nativeQuery = true)