xboot-core/src/main/java/cn/exrick/xboot/core/service/UserService.java
@@ -15,7 +15,7 @@ * 用户接口 * @author Exrickx */ @CacheConfig(cacheNames = "user") //@CacheConfig(cacheNames = "user") public interface UserService extends XbootBaseService<User, String> { /** @@ -23,7 +23,7 @@ * @param username * @return */ @Cacheable(key = "#username") //@Cacheable(key = "#username") User findByUsername(String username); /** @@ -78,4 +78,6 @@ void updateDepartmentTitle(String departmentId, String departmentTitle); int countByType(int type); List<User> findByType2(int type); }