/**
* 关键词DAO层
*/
public interface KeywordDAO extends JpaRepository<KeywordDO, Long>, JpaSpecificationExecutor<KeywordDO> {
@Query(value = "select kc.id as classId,kc.name as className, kc.priority as classPriority, " +
"k.nameOne as nameOne, k.nameTwo as nameTwo, k.useType as useType, k.modifyTime as modifyTime " +
"from KeywordDO k left join KeywordClassDO kc on k.classId = kc.id where k.modifyTime is not null")
List<KeywordVO> queryKeywordJoinKeywordClass();
}