@Query(countName="applicationSystem.countByCode",value="select count(*) from sa_applicationsystem t where t.code = ?1 and t.id != ?2",nativeQuery=true)
LongcountByCodeAndId(Stringcode,Stringid);
@Query(countName="applicationSystem.countByCode",value="select count(t) from ApplicationSystem t where t.code=?1 and t.id !=?2")
LongcountByCodeAndId(Stringcode,Stringid);
@Query(countName="applicationSystem.countByName",value="select count(*) from sa_applicationsystem t where t.code = ?1 and t.id != ?2",nativeQuery=true)
LongcountByNameAndId(Stringname,Stringid);
@Query(countName="applicationSystem.countByName",value="select count(t) from ApplicationSystem t where t.code=?1 and t.id !=?2")
LongcountByNameAndId(Stringname,Stringid);
@Query(countName="applicationSystem.countByName",value="select count(*) from sa_applicationsystem t where t.class_prefix = ?1 and t.id != ?2",nativeQuery=true)
@Query(name="applicationSystem.findByClassPrefix",nativeQuery=true,value="select * from SA_ApplicationSystem where :classPrefix like class_prefix || '%'")
@Query(name="applicationSystem.findByClassPrefix",value="from ApplicationSystem where :classPrefix like concat(classPrefix,'%')")