| | |
| | | } |
| | | |
| | | if (StringUtils.isNotBlank(list.get(13).toString())) { |
| | | empBaseInfo.setSeniority(Integer.valueOf(list.get(13).toString())); |
| | | empBaseInfo.setSeniority(list.get(13).toString()); |
| | | } |
| | | |
| | | //籍贯 |
| | |
| | | inputStream.read(buff); |
| | | inputStream.close(); |
| | | |
| | | String contentType = empBaseInfo.getImagePath().substring(empBaseInfo.getImagePath().indexOf(".")+1); |
| | | String contentType = empBaseInfo.getImagePath().substring(empBaseInfo.getImagePath().lastIndexOf(".")+1); |
| | | if (contentType.equals("tif")){ |
| | | //设置发送到客户端的响应内容类型 |
| | | response.setContentType("image/tiff"); |