Commit 4dee272f authored by huyuchen's avatar huyuchen

huyc 项目档案代码提交

parent 827b9246
...@@ -120,7 +120,7 @@ public class TElecEmployeeInfoController { ...@@ -120,7 +120,7 @@ public class TElecEmployeeInfoController {
@SysLog("通过身份证号查询人员档案" ) @SysLog("通过身份证号查询人员档案" )
@PostMapping("/getEmpInfo" ) @PostMapping("/getEmpInfo" )
public R getEmpInfoByCard(@RequestParam String idCard) { public R getEmpInfoByCard(@RequestParam String idCard) {
return R.ok(tElecEmployeeInfoService.getEmpInfoByCard(idCard)); return tElecEmployeeInfoService.getEmpInfoByCard(idCard);
} }
/** /**
......
...@@ -143,7 +143,7 @@ public class TEmployeeProjectController { ...@@ -143,7 +143,7 @@ public class TEmployeeProjectController {
@PostMapping("/check") @PostMapping("/check")
@PreAuthorize("@pms.hasPermission('archives_temployeeproject_add')" ) @PreAuthorize("@pms.hasPermission('archives_temployeeproject_add')" )
public R addCheck(@RequestBody TEmployeeProject tEmployeeProject) { public R addCheck(@RequestBody TEmployeeProject tEmployeeProject) {
return R.ok(tEmployeeProjectService.addCheck(tEmployeeProject)); return tEmployeeProjectService.addCheck(tEmployeeProject);
} }
/** /**
...@@ -158,7 +158,7 @@ public class TEmployeeProjectController { ...@@ -158,7 +158,7 @@ public class TEmployeeProjectController {
@PostMapping("/reEmpInfo") @PostMapping("/reEmpInfo")
@PreAuthorize("@pms.hasPermission('archives_temployeeproject_reempinfo')" ) @PreAuthorize("@pms.hasPermission('archives_temployeeproject_reempinfo')" )
public R reEmpInfo(@RequestBody JSONObject jsonObject) { public R reEmpInfo(@RequestBody JSONObject jsonObject) {
return R.ok(tEmployeeProjectService.reEmpInfo(jsonObject)); return tEmployeeProjectService.reEmpInfo(jsonObject);
} }
/** /**
...@@ -172,7 +172,7 @@ public class TEmployeeProjectController { ...@@ -172,7 +172,7 @@ public class TEmployeeProjectController {
@PostMapping("/deleteEmpPro") @PostMapping("/deleteEmpPro")
@PreAuthorize("@pms.hasPermission('archives_temployeeproject_delempproinfo')" ) @PreAuthorize("@pms.hasPermission('archives_temployeeproject_delempproinfo')" )
public R deleteEmpPro(@RequestBody TEmployeeProject tEmployeeProject) { public R deleteEmpPro(@RequestBody TEmployeeProject tEmployeeProject) {
return R.ok(tEmployeeProjectService.deleteEmpPro(tEmployeeProject)); return tEmployeeProjectService.deleteEmpPro(tEmployeeProject);
} }
/** /**
......
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