kongdeqiang
2023-03-27 172c5525cbdba1c3b32b47cb60bd35bed707101c
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);
    /**
@@ -76,4 +76,8 @@
     * @param departmentTitle
     */
    void updateDepartmentTitle(String departmentId, String departmentTitle);
    int countByType(int type);
    List<User> findByType2(int type);
}