@Component public class UserMenuCache extends Object
@Comment(value="\u6839\u636e\u7528\u6237ID\u83b7\u53d6\u6743\u9650\u5217\u8868") public List<String> get(@Comment(value="\u7528\u6237ID") Long userId)
userId - 用户ID@Comment(value="\u9a8c\u8bc1\u6743\u9650")
public void validateAuthority(@Comment(value="\u7528\u6237ID")
Long userId,
@Comment(value="\u6743\u9650\u4ee3\u7801")
String permissionNo)
throws AccessPermissionException
userId - 用户IDpermissionNo - AccessPermissionException@Comment(value="\u6e05\u7a7a\u6743\u9650\u7f13\u5b58") public void clear()
@Comment(value="\u5220\u9664\u7528\u6237\u7f13\u5b58")
public void remove(@Comment(value="\u7528\u6237ID")
long userId)
userId - 用户ID@Comment(value="\u6839\u636e\u7528\u6237\u7684\u6743\u9650\u521d\u59cb\u5316Cache")
public void reload(@Comment(value="\u7528\u6237ID")
Long userId)
throws SQLException
userId - 用户IDSQLExceptionCopyright © 2025. All rights reserved.