Commit 6a777f66 authored by fangxinjiang's avatar fangxinjiang

Merge remote-tracking branch 'origin/develop' into develop

parents 37c490d3 b08d6ec3
...@@ -159,7 +159,6 @@ public class TEmployeeProjectController { ...@@ -159,7 +159,6 @@ public class TEmployeeProjectController {
@Operation(summary = "复档复项相关操作", description = "复档复项相关操作") @Operation(summary = "复档复项相关操作", description = "复档复项相关操作")
@SysLog("复档复项相关操作" ) @SysLog("复档复项相关操作" )
@PostMapping("/reEmpInfo") @PostMapping("/reEmpInfo")
@PreAuthorize("@pms.hasPermission('archives_temployeeproject_reempinfo')" )
public R reEmpInfo(@RequestBody JSONObject jsonObject) { public R reEmpInfo(@RequestBody JSONObject jsonObject) {
return tEmployeeProjectService.reEmpInfo(jsonObject); return tEmployeeProjectService.reEmpInfo(jsonObject);
} }
...@@ -196,7 +195,8 @@ public class TEmployeeProjectController { ...@@ -196,7 +195,8 @@ public class TEmployeeProjectController {
/** /**
* 批量新增项目档案信息 * 批量新增项目档案信息
* *
* @param excelVOList * @param file
* @param idAdd
* @return R<List> * @return R<List>
* @Author huyc * @Author huyc
* @Date 2022-06-20 * @Date 2022-06-20
...@@ -212,8 +212,7 @@ public class TEmployeeProjectController { ...@@ -212,8 +212,7 @@ public class TEmployeeProjectController {
/** /**
* 批量更新项目档案信息 * 批量更新项目档案信息
* @param excelVOList * @param file
* @param bindingResult
* @return R<List> * @return R<List>
* @Author huyc * @Author huyc
* @Date 2022-06-21 * @Date 2022-06-21
......
...@@ -368,7 +368,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap ...@@ -368,7 +368,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
//不存在复档或复项的情况 //不存在复档或复项的情况
//档案无(在档人员、离职库皆无),项目无 //档案无(在档人员、离职库皆无),项目无
if (Common.isEmpty(tEmployeeInfo) && Common.isEmpty(tEmployeeProject)) { if (Common.isEmpty(tEmployeeInfo) && Common.isEmpty(tEmployeeProject)) {
errorMsg.add(MsgUtils.getMessage(ErrorCodes.CHECKS_REDUCE_EMP_ERROR)); errorMessageList.add(new ErrorMessage(excel.getRowIndex(),MsgUtils.getMessage(ErrorCodes.CHECKS_EXIT_EMPPROJECT_ERROR)));
//档案有(在档人员),项目无 //档案有(在档人员),项目无
} else if (Common.isNotNull(tEmployeeInfo) && Common.isEmpty(tEmployeeProject) } else if (Common.isNotNull(tEmployeeInfo) && Common.isEmpty(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