zxl
2025-11-12 036c6f1773692488838fdac94e6400ccbf074749
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
Êþº¾=_
 /com/ycl/web/controller/system/SysRoleController    startPage()V         
 roleService(Lcom/ycl/system/service/ISysRoleService;  &com/ycl/system/service/ISysRoleServiceselectRoleList=(Lcom/ycl/common/core/domain/entity/SysRole;)Ljava/util/List;
  getDataTable:(Ljava/util/List;)Lcom/ycl/common/core/page/TableDataInfo;"com/ycl/common/utils/poi/ExcelUtil)com/ycl/common/core/domain/entity/SysRole
 <init>(Ljava/lang/Class;)V 角色数据
  !" exportExcelM(Ljavax/servlet/http/HttpServletResponse;Ljava/util/List;Ljava/lang/String;)V $ %&checkRoleDataScope(Ljava/lang/Long;)V ( )*selectRoleById=(Ljava/lang/Long;)Lcom/ycl/common/core/domain/entity/SysRole;
, -.success;(Ljava/lang/Object;)Lcom/ycl/common/core/domain/AjaxResult; 0 12checkRoleNameUnique.(Lcom/ycl/common/core/domain/entity/SysRole;)Z
4 56 getRoleName()Ljava/lang/String;8 9:makeConcatWithConstants&(Ljava/lang/String;)Ljava/lang/String;
< =>error;(Ljava/lang/String;)Lcom/ycl/common/core/domain/AjaxResult; @ A2checkRoleKeyUnique8
D E6 getUsername
G HI setCreateBy(Ljava/lang/String;)V K LM
insertRole.(Lcom/ycl/common/core/domain/entity/SysRole;)I
O PQtoAjax*(I)Lcom/ycl/common/core/domain/AjaxResult; S TUcheckRoleAllowed.(Lcom/ycl/common/core/domain/entity/SysRole;)V
W XY    getRoleId()Ljava/lang/Long;88
] ^I setUpdateBy ` aM
updateRole
c de getLoginUser.()Lcom/ycl/common/core/domain/model/LoginUser;
ghi jk*com/ycl/common/core/domain/model/LoginUsergetUser-()Lcom/ycl/common/core/domain/entity/SysUser;
mno pq com/ycl/common/utils/StringUtils    isNotNull(Ljava/lang/Object;)Z
stu vw)com/ycl/common/core/domain/entity/SysUserisAdmin()Z    y z{permissionService4Lcom/ycl/framework/web/service/SysPermissionService;
}~ €2com/ycl/framework/web/service/SysPermissionServicegetMenuPermission<(Lcom/ycl/common/core/domain/entity/SysUser;)Ljava/util/Set;
gƒ „…setPermissions(Ljava/util/Set;)V    ‡ ˆ‰ userService(Lcom/ycl/system/service/ISysUserService;
s‹ Œ6 getUserName Ž ‘’&com/ycl/system/service/ISysUserServiceselectUserByUserName?(Ljava/lang/String;)Lcom/ycl/common/core/domain/entity/SysUser;
g” •–setUser.(Lcom/ycl/common/core/domain/entity/SysUser;)V    ˜ ™š tokenService,Lcom/ycl/framework/web/service/TokenService;
œž Ÿ *com/ycl/framework/web/service/TokenService setLoginUser/(Lcom/ycl/common/core/domain/model/LoginUser;)V
¢ -£)()Lcom/ycl/common/core/domain/AjaxResult;8 ¦ §M authDataScope © ªMupdateRoleStatus ¬ ­®deleteRoleByIds([Ljava/lang/Long;)I ° ±² selectRoleAll()Ljava/util/List; Ž´ µ¶selectAllocatedList=(Lcom/ycl/common/core/domain/entity/SysUser;)Ljava/util/List; ޏ ¹¶selectUnallocatedList » ¼½deleteAuthUser&(Lcom/ycl/system/domain/SysUserRole;)I ¿ ÀÁdeleteAuthUsers$(Ljava/lang/Long;[Ljava/lang/Long;)I à ÄÁinsertAuthUsers
Æ¢Ç%com/ycl/common/core/domain/AjaxResultÉ checkedKeys    Ë ÌÍ deptService(Lcom/ycl/system/service/ISysDeptService; ÏÐÑ ÒÓ&com/ycl/system/service/ISysDeptServiceselectDeptListByRoleId"(Ljava/lang/Long;)Ljava/util/List;
ÆÕ Ö×putM(Ljava/lang/String;Ljava/lang/Object;)Lcom/ycl/common/core/domain/AjaxResult;ÙdeptsÛ)com/ycl/common/core/domain/entity/SysDept
ÚÝ  Ïß àáselectDeptTreeList=(Lcom/ycl/common/core/domain/entity/SysDept;)Ljava/util/List;
ãÝä-com/ycl/common/core/controller/BaseControllerlistU(Lcom/ycl/common/core/domain/entity/SysRole;)Lcom/ycl/common/core/page/TableDataInfo;CodeLineNumberTableLocalVariableTablethis1Lcom/ycl/web/controller/system/SysRoleController;role+Lcom/ycl/common/core/domain/entity/SysRole;Ljava/util/List;LocalVariableTypeTable=Ljava/util/List<Lcom/ycl/common/core/domain/entity/SysRole;>;RuntimeVisibleAnnotations4Lorg/springframework/web/bind/annotation/GetMapping;value/listexportV(Ljavax/servlet/http/HttpServletResponse;Lcom/ycl/common/core/domain/entity/SysRole;)Vresponse(Ljavax/servlet/http/HttpServletResponse;util$Lcom/ycl/common/utils/poi/ExcelUtil;QLcom/ycl/common/utils/poi/ExcelUtil<Lcom/ycl/common/core/domain/entity/SysRole;>;Lcom/ycl/common/annotation/Log;title 角色管理 businessType#Lcom/ycl/common/enums/BusinessType;EXPORT:Lorg/springframework/security/access/prepost/PreAuthorize;"@ss.hasPermi('system:role:export')5Lorg/springframework/web/bind/annotation/PostMapping;/exportgetInfo9(Ljava/lang/Long;)Lcom/ycl/common/core/domain/AjaxResult;roleIdLjava/lang/Long;!@ss.hasPermi('system:role:query')    /{roleId}"RuntimeVisibleParameterAnnotations6Lorg/springframework/web/bind/annotation/PathVariable;addT(Lcom/ycl/common/core/domain/entity/SysRole;)Lcom/ycl/common/core/domain/AjaxResult; StackMapTable@ss.hasPermi('system:role:add')INSERT5Lorg/springframework/validation/annotation/Validated;5Lorg/springframework/web/bind/annotation/RequestBody;edit    loginUser,Lcom/ycl/common/core/domain/model/LoginUser; @ss.hasPermi('system:role:edit')UPDATE4Lorg/springframework/web/bind/annotation/PutMapping;    dataScope
/dataScope changeStatus /changeStatusremove:([Ljava/lang/Long;)Lcom/ycl/common/core/domain/AjaxResult;roleIds[Ljava/lang/Long;"@ss.hasPermi('system:role:remove')DELETE7Lorg/springframework/web/bind/annotation/DeleteMapping;
/{roleIds} optionselect /optionselect allocatedListU(Lcom/ycl/common/core/domain/entity/SysUser;)Lcom/ycl/common/core/page/TableDataInfo;user+Lcom/ycl/common/core/domain/entity/SysUser;=Ljava/util/List<Lcom/ycl/common/core/domain/entity/SysUser;>; @ss.hasPermi('system:role:list')/authUser/allocatedListunallocatedList/authUser/unallocatedListcancelAuthUserL(Lcom/ycl/system/domain/SysUserRole;)Lcom/ycl/common/core/domain/AjaxResult;userRole#Lcom/ycl/system/domain/SysUserRole;GRANT/authUser/cancelcancelAuthUserAllJ(Ljava/lang/Long;[Ljava/lang/Long;)Lcom/ycl/common/core/domain/AjaxResult;userIds/authUser/cancelAllselectAuthUserAll/authUser/selectAlldeptTreeajax'Lcom/ycl/common/core/domain/AjaxResult;/deptTree/{roleId}Û(Lcom/ycl/system/service/ISysRoleService;Lcom/ycl/framework/web/service/TokenService;Lcom/ycl/framework/web/service/SysPermissionService;Lcom/ycl/system/service/ISysUserService;Lcom/ycl/system/service/ISysDeptService;)V
SourceFileSysRoleController.java8Lorg/springframework/web/bind/annotation/RestController;8Lorg/springframework/web/bind/annotation/RequestMapping; /system/roleBootstrapMethodsJ
KLM 9N$java/lang/invoke/StringConcatFactory˜(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;P-新增角色''失败,角色名称已存在R-新增角色''失败,角色权限已存在T-修改角色''失败,角色名称已存在V-修改角色''失败,角色权限已存在X*修改角色''失败,请联系管理员 InnerClasses[%java/lang/invoke/MethodHandles$Lookup]java/lang/invoke/MethodHandlesLookup!ã    
™šz{ˆ‰ÌÍåæçm*¶*´+¹ M*,¶°è;<=é êëìíåîï åðñòó[sôõöçš *´,¹ N»Y·:+-¶±èD EFGé4 êë ÷ø ìí åî
ùúï åð
ùûñ'üýsþÿeósó[sçQ*´+¹#**´+¹'¶+°è
O
Péêë    ñós
òó[s   çŸM*´+¹/š*+¶3º7¶;°*´+¹?š*+¶3ºB¶;°+*¶C¶F**´+¹J¶N°èZ [\(]6_>`éMêëMìíñósüýsþÿe çB¹*´+¹R*´+¶V¹#*´+¹/š*+¶3ºZ¶;°*´+¹?š*+¶3º[¶;°+*¶C¶\*´+¹_žL*¶bM,¶f¸l™8,¶f¶rš.,*´x,¶f¶|¶‚,*´†,¶f¶Š¹¶“*´—,¶›*¶¡°*+¶3º¤¶;°è>k
lm$n2o?pMrUtbvgw{xŠyžz¦|«~é gD¹êë¹ìí 2üXgúñósüýsþÿe çb&*´+¹R*´+¶V¹#**´+¹¥¶N°èˆ
‰Šé&êë&ìíñ'ósüýsþÿeó[s çn.*´+¹R*´+¶V¹#+*¶C¶\**´+¹¨¶N°è”
•–—é.êë.ìíñ'ósüýsþÿeó[s  çC**´+¹«¶N°è¡éêë!"ñ'ós#üýsþÿe$%ó[s&  '£ç8**´¹¯¶+°èªé êëñós
òó[s()*çm*¶*´†+¹³M*,¶°è³´µé êë+,åîï å-ñós.òó[s/0*çm*¶*´†+¹·M*,¶°è¾¿Àé êë+,åîï å-ñós.òó[s123çC**´+¹º¶N°èÊéêë45ñ'ósüýsþÿe6ó[s7 89çN**´+,¹¾¶N°èÔé êë    :"ñ'ósüýsþÿe6ó[s;<9ç\*´+¹#**´+,¹Â¶N°è
ßé êë    :"ñ'ósüýsþÿe6ó[s=>çx.¸ÅM,È*´Ê+¹Î¶ÔW,Ø*´Ê»ÚY·Ü¹Þ¶ÔW,°èèéê,ëé .êë.    *?@ñós
òó[sA  ósBç| *·â*+µ*,µ—*-µx*µ†*µÊ±è*é> êë     
 ™š z{ ˆ‰ ÌÍCDñEFó[sGH IOIQISIUIWY
Z\^