| | |
| | | excel.setRealName(accreditationRecordsVo.getRealName()); |
| | | excel.setIdCardNo(accreditationRecordsVo.getIdCardNo()); |
| | | excel.setDeptName(accreditationRecordsVo.getDeptName()); |
| | | if (accreditationRecordsVo.getSex().equals("1")){ |
| | | excel.setSex("男"); |
| | | }else { |
| | | excel.setSex("女"); |
| | | } |
| | | excel.setPaperTime(new SimpleDateFormat("yyyy-MM-dd").format(new Date())); |
| | | //如果头像有 |
| | | if (null != accreditationRecordsVo.getAvatar() && accreditationRecordsVo.getAvatar() != "") { |
| | | try { |
| | |
| | | public List<AccreditationRecordsVo> exportSecurityBookPapers(AccreditationRecordsVo accreditationRecords) { |
| | | //查询数据 |
| | | List<AccreditationRecordsVo> accreditationRecordsVos = baseMapper.exportSecurityBookPapers(accreditationRecords); |
| | | System.out.println("accreditationRecordsVos = " + accreditationRecordsVos.size()); |
| | | // System.out.println("accreditationRecordsVos = " + accreditationRecordsVos.size()); |
| | | return accreditationRecordsVos; |
| | | } |
| | | } |