| | |
| | | for (DicItem m: empAccessoryMapper.getDictType("certificateList")) { |
| | | certificateList.put(m.getDicItemCode(),m.getDicItemName()); |
| | | } |
| | | //相关证件 |
| | | Map<String,String> archivesStatus= new HashMap<>(); |
| | | for (DicItem m: empAccessoryMapper.getDictType("archivesStatus")) { |
| | | archivesStatus.put(m.getDicItemCode(),m.getDicItemName()); |
| | | } |
| | | |
| | | logger.info(">>>>>>>>>>开始导出pdf>>>>>>>>>>"); |
| | | //基本信息 |
| | | String[] baseinfo = { "档案号", "姓名", "性别", "部门(护卫点)", "岗位", "员工类别", "民族", "年龄", "婚姻状态", "身份证有效期" |
| | |
| | | |
| | | List<EmpBaseInfo> empBaseInfoList = iEmpBaseInfoService.findEmpBaseInfos(queryRequest, baseInfo).getRecords(); |
| | | for (EmpBaseInfo empBaseInfo: empBaseInfoList){ |
| | | empBaseInfo.setArchivesStatusName(archivesStatus.get(empBaseInfo.getArchivesStatus()==null?"":empBaseInfo.getArchivesStatus())); |
| | | empBaseInfo.setSexName(sex.get(empBaseInfo.getSex()==null?"":empBaseInfo.getSex())); |
| | | empBaseInfo.setEmpTypeName(empType.get(empBaseInfo.getEmpType()==null?"":empBaseInfo.getEmpType())); |
| | | empBaseInfo.setNationName(NATION.get(empBaseInfo.getNation()==null?"":empBaseInfo.getNation())); |