Commit c3309aa0 authored by hongguangwu's avatar hongguangwu

-暂时去除权限

parent fa4c4e78
......@@ -172,7 +172,7 @@ public class TEmployeeInfoController {
@Operation(summary = "新增人员档案前的校验", description = "新增人员档案前的校验")
@SysLog("新增人员档案前的校验")
@GetMapping("/checkIdCard")
@PreAuthorize("@pms.hasPermission('temployeeinfo_add')")
//@PreAuthorize("@pms.hasPermission('temployeeinfo_add')")
public R<TEmployeeInfo> checkIdCard(@RequestParam String empName, @RequestParam String empIdCard) {
TEmployeeInfo employeeInfo = new TEmployeeInfo();
employeeInfo.setEmpName(empName);
......@@ -190,7 +190,7 @@ public class TEmployeeInfoController {
@Operation(summary = "新增人员档案表(附带项目档案、学历)", description = "新增人员档案表")
@SysLog("新增人员档案表(附带项目档案、学历)")
@PostMapping("/addNewEmployee")
@PreAuthorize("@pms.hasPermission('temployeeinfo_add')")
//@PreAuthorize("@pms.hasPermission('temployeeinfo_add')")
public R<String> addNewEmployee(@Valid @RequestBody TEmployeeInfo tEmployeeInfo) {
return tEmployeeInfoService.addNewEmployee(tEmployeeInfo);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment