@Query(value="select * from tb_tag_info where state=1 and parent_id=(select id from tb_tag_info where name_ch='语言' 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_ch='语言' 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_ch='语言' ",nativeQuery=true)
@Query(value="select * from tb_tag_info where state=1 and is_show=1 and not name_ch='语言' 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",nativeQuery=true)
@Query(value="select * from tb_tag_info where state=1 and is_show=1 order by create_time",nativeQuery=true)
List<Tag>getCategoryTags();
List<Tag>getCategoryTags();
@Query(value="select journal_id,name_ch from tb_journal_tag,tb_tag_info where journal_id in ?1 and tb_journal_tag.tag_id =tb_tag_info.id ;",nativeQuery=true)
@Query(value="select journal_id,name_ch from tb_journal_tag,tb_tag_info where journal_id in ?1 and tb_journal_tag.tag_id =tb_tag_info.id ;",nativeQuery=true)