xboot-core/src/main/java/cn/exrick/xboot/core/dao/UserDao.java @@ -67,4 +67,6 @@ @Query("select count(id) from User u where u.type2=?1") int countByType(int type); List<User> findByType2(int type); }