kongdeqiang
2022-11-04 8c02e4ce71ca6e8ca9e6680b88f973e835e06645
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);
}