Commit 4dee272f authored by huyuchen's avatar huyuchen

huyc 项目档案代码提交

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