xuefei
2023-08-08 6c764f473b1e0e9dd2fb13034fe0d7295ab3724e
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);
}