Commit c3309aa0 authored by hongguangwu's avatar hongguangwu

-暂时去除权限

parent fa4c4e78
...@@ -172,7 +172,7 @@ public class TEmployeeInfoController { ...@@ -172,7 +172,7 @@ public class TEmployeeInfoController {
@Operation(summary = "新增人员档案前的校验", description = "新增人员档案前的校验") @Operation(summary = "新增人员档案前的校验", description = "新增人员档案前的校验")
@SysLog("新增人员档案前的校验") @SysLog("新增人员档案前的校验")
@GetMapping("/checkIdCard") @GetMapping("/checkIdCard")
@PreAuthorize("@pms.hasPermission('temployeeinfo_add')") //@PreAuthorize("@pms.hasPermission('temployeeinfo_add')")
public R<TEmployeeInfo> checkIdCard(@RequestParam String empName, @RequestParam String empIdCard) { public R<TEmployeeInfo> checkIdCard(@RequestParam String empName, @RequestParam String empIdCard) {
TEmployeeInfo employeeInfo = new TEmployeeInfo(); TEmployeeInfo employeeInfo = new TEmployeeInfo();
employeeInfo.setEmpName(empName); employeeInfo.setEmpName(empName);
...@@ -190,7 +190,7 @@ public class TEmployeeInfoController { ...@@ -190,7 +190,7 @@ public class TEmployeeInfoController {
@Operation(summary = "新增人员档案表(附带项目档案、学历)", description = "新增人员档案表") @Operation(summary = "新增人员档案表(附带项目档案、学历)", description = "新增人员档案表")
@SysLog("新增人员档案表(附带项目档案、学历)") @SysLog("新增人员档案表(附带项目档案、学历)")
@PostMapping("/addNewEmployee") @PostMapping("/addNewEmployee")
@PreAuthorize("@pms.hasPermission('temployeeinfo_add')") //@PreAuthorize("@pms.hasPermission('temployeeinfo_add')")
public R<String> addNewEmployee(@Valid @RequestBody TEmployeeInfo tEmployeeInfo) { public R<String> addNewEmployee(@Valid @RequestBody TEmployeeInfo tEmployeeInfo) {
return tEmployeeInfoService.addNewEmployee(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