1.update style filter condition

main
Gary 9 months ago
parent 595a3d6ed0
commit 96dc30f219

@ -22,7 +22,7 @@ public interface TagDao extends JpaRepository<Tag, String>, 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) @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<Tag> getLanguageList(); List<Tag> 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<Tag> getStyleList(); List<Tag> getStyleList();
@Query(value = "select * from tb_tag_info where state=1 and is_show=1 order by create_time", nativeQuery = true) @Query(value = "select * from tb_tag_info where state=1 and is_show=1 order by create_time", nativeQuery = true)

Loading…
Cancel
Save