工作站人力资源设置

This commit is contained in:
JinLu.Yin
2022-05-12 18:20:57 +08:00
parent 42336be12a
commit 4841a77735
7 changed files with 660 additions and 1 deletions

View File

@@ -46,7 +46,20 @@ public class SysPostController extends BaseController
List<SysPost> list = postService.selectPostList(post);
return getDataTable(list);
}
/**
* 查询所有有效岗位信息以List方式返回
* @return
*/
@PreAuthorize("@ss.hasPermi('system:post:list')")
@GetMapping("/listAll")
public AjaxResult listAll(){
SysPost post = new SysPost();
post.setStatus("0");
List<SysPost> list = postService.selectPostList(post);
return AjaxResult.success(list);
}
@Log(title = "岗位管理", businessType = BusinessType.EXPORT)
@PreAuthorize("@ss.hasPermi('system:post:export')")
@PostMapping("/export")