| | |
| | | if(this.empBaseInfoService.verifyEmpNumb(empBaseinfo)){ |
| | | throw new FebsException("已存在此员工编号:" + empBaseinfo.getEmpNumb()); |
| | | } |
| | | if(this.empBaseInfoService.verifyCertificateNumb(empBaseinfo)){ |
| | | throw new FebsException("已存在此身份证号:" + empBaseinfo.getCertificateNumb()); |
| | | } |
| | | try { |
| | | this.empBaseInfoService.createEmpBaseInfo(empBaseinfo); |
| | | } catch (Exception e) { |
| | |
| | | empBadRecordService.importEmpBadRecord(listObject.get(12),returnList); |
| | | empRemarkinfoService.importEmpRemarkInfo(listObject.get(13),returnList); |
| | | } |
| | | } catch (Exception e) { |
| | | }catch (IndexOutOfBoundsException e){ |
| | | log.error("导入员工,下表越界", e); |
| | | }catch (Exception e) { |
| | | log.error("导入员工", e); |
| | | } |
| | | return new FebsResponse().data(returnList); |
| | | return new FebsResponse().data(returnList); |
| | | } |
| | | |
| | | @ApiOperation(value = "关闭员工档案") |