Files
zhyc-sheep/zhyc-admin/target/classes/com/zhyc/web/controller/system/SysPostController.class

27 lines
5.1 KiB
Plaintext
Raw Normal View History

2025-12-27 12:37:58 +08:00
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>4<00>
 .com/zhyc/common/core/controller/BaseController<init>()V
 
0com/zhyc/web/controller/system/SysPostController startPage   postService)Lcom/zhyc/system/service/ISysPostService;  'com/zhyc/system/service/ISysPostServiceselectPostList2(Lcom/zhyc/system/domain/SysPost;)Ljava/util/List;
  getDataTable;(Ljava/util/List;)Lcom/zhyc/common/core/page/TableDataInfo;#com/zhyc/common/utils/poi/ExcelUtilcom/zhyc/system/domain/SysPost
  (Ljava/lang/Class;)V" 岗位数据
$ %& exportExcelM(Ljavax/servlet/http/HttpServletResponse;Ljava/util/List;Ljava/lang/String;)V ( )*selectPostById2(Ljava/lang/Long;)Lcom/zhyc/system/domain/SysPost;
, -.success<(Ljava/lang/Object;)Lcom/zhyc/common/core/domain/AjaxResult; 0 12checkPostNameUnique#(Lcom/zhyc/system/domain/SysPost;)Z4java/lang/StringBuilder
37 新增岗位'
39 :;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;
= >? getPostName()Ljava/lang/String;A'失败,岗位名称已存在
3C D?toString
F GHerror<(Ljava/lang/String;)Lcom/zhyc/common/core/domain/AjaxResult; J K2checkPostCodeUniqueM'失败,岗位编码已存在
O P? getUsername
R ST setCreateBy(Ljava/lang/String;)V V WX
insertPost#(Lcom/zhyc/system/domain/SysPost;)I
Z [\toAjax+(I)Lcom/zhyc/common/core/domain/AjaxResult;^ 修改岗位'
` aT setUpdateBy c dX
updatePost f ghdeletePostByIds([Ljava/lang/Long;)I j kl selectPostAll()Ljava/util/List;RuntimeVisibleAnnotations8Lorg/springframework/beans/factory/annotation/Autowired;CodeLineNumberTableLocalVariableTablethis2Lcom/zhyc/web/controller/system/SysPostController;listK(Lcom/zhyc/system/domain/SysPost;)Lcom/zhyc/common/core/page/TableDataInfo;post Lcom/zhyc/system/domain/SysPost;Ljava/util/List;LocalVariableTypeTable2Ljava/util/List<Lcom/zhyc/system/domain/SysPost;>;:Lorg/springframework/security/access/prepost/PreAuthorize;value @ss.hasPermi('system:post:list')4Lorg/springframework/web/bind/annotation/GetMapping;/listexportK(Ljavax/servlet/http/HttpServletResponse;Lcom/zhyc/system/domain/SysPost;)Vresponse(Ljavax/servlet/http/HttpServletResponse;util%Lcom/zhyc/common/utils/poi/ExcelUtil;GLcom/zhyc/common/utils/poi/ExcelUtil<Lcom/zhyc/system/domain/SysPost;>; Lcom/zhyc/common/annotation/Log;title 岗位管理 businessType$Lcom/zhyc/common/enums/BusinessType;EXPORT"@ss.hasPermi('system:post:export')5Lorg/springframework/web/bind/annotation/PostMapping;/exportgetInfo:(Ljava/lang/Long;)Lcom/zhyc/common/core/domain/AjaxResult;postIdLjava/lang/Long;!@ss.hasPermi('system:post:query') /{postId}"RuntimeVisibleParameterAnnotations6Lorg/springframework/web/bind/annotation/PathVariable;addJ(Lcom/zhyc/system/domain/SysPost;)Lcom/zhyc/common/core/domain/AjaxResult; StackMapTable@ss.hasPermi('system:post:add')INSERT5Lorg/springframework/validation/annotation/Validated;5Lorg/springframework/web/bind/annotation/RequestBody;edit @ss.hasPermi('system:post:edit')UPDATE4Lorg/springframework/web/bind/annotation/PutMapping;remove;([Ljava/lang/Long;)Lcom/zhyc/common/core/domain/AjaxResult;postIds[Ljava/lang/Long;"@ss.hasPermi('system:post:remove')DELETE7Lorg/springframework/web/bind/annotation/DeleteMapping;
/{postIds} optionselect*()Lcom/zhyc/common/core/domain/AjaxResult;posts /optionselect
SourceFileSysPostController.java8Lorg/springframework/web/bind/annotation/RestController;8Lorg/springframework/web/bind/annotation/RequestMapping; /system/post!mno/*<2A><01>p q rstuom*<2A>*<2A> +<2B>M*,<2C><16>p,-.q rsvwtxy tzm{|s}~|[s<00><00>o<00> *<2A> ,<2C>N<>Y<1C>:+-!<21>#<23>p6 789q4 rs <00><00> vw tx
<00><00>y tz
<00><00>m'<00><00>s<00><00>e<00><00>{|s<00><00>|[s<00><00><00>oC**<2A> +<2B>'<00>+<2B>pBqrs<00><00>m{|s<00>~|[s<00><00><00><00><00>o<00>q*<2A> +<2B>/<00>#*<2A>3Y<33>56<>8+<2B><<3C>8@<40>8<>B<>E<>*<2A> +<2B>I<00>#*<2A>3Y<33>56<>8+<2B><<3C>8L<>8<>B<>E<>+*<2A>N<>Q**<2A> +<2B>U<00>Y<>pM O-Q:SZUbVqqrsqvw<00>-,m{|s<00><00><00>s<00><00>e<00><00><00><00> <00><00><00><00>o<00>q*<2A> +<2B>/<00>#*<2A>3Y<33>5]<5D>8+<2B><<3C>8@<40>8<>B<>E<>*<2A> +<2B>I<00>#*<2A>3Y<33>5]<5D>8+<2B><<3C>8L<>8<>B<>E<>+*<2A>N<>_**<2A> +<2B>b<00>Y<>pa c-e:gZibjqqrsqvw<00>-,m{|s<00><00><00>s<00><00>e<00><00><00><00> <00><00><00><00>oC**<2A> +<2B>e<00>Y<>puqrs<00><00>m'{|s<00><00><00>s<00><00>e<00><00><00>|[s<00><00><00><00><00>oZ*<2A> <0C>iL*+<2B>+<2B>p
~
qrs
<00>xy 
<00>zm~|[s<00><00><00>m<00><00>|[s<00>