| | |
| | | File image=new File(sourceFile+"/"+li.getName()+"行程码.jpg"); |
| | | FileUtils.copyURLToFile(new URL(li.getTravelImage()),image); |
| | | //comActAcidRecordExcelVO.setAcidImage(new URL(li.getAcidImage())); |
| | | comActAcidRecordExcelVO.setTravelImage(new URL(li.getTravelImage())); |
| | | //comActAcidRecordExcelVO.setTravelImage(new URL(li.getTravelImage())); |
| | | //comActAcidRecordExcelVO.setVaccinationImage(new URL(li.getVaccinationImage())); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | |
| | | File image=new File(sourceFile+"/"+li.getName()+"健康码.jpg"); |
| | | FileUtils.copyURLToFile(new URL(li.getColorImage()),image); |
| | | //comActAcidRecordExcelVO.setAcidImage(new URL(li.getAcidImage())); |
| | | comActAcidRecordExcelVO.setColorImage(new URL(li.getColorImage())); |
| | | //comActAcidRecordExcelVO.setVaccinationImage(new URL(li.getVaccinationImage())); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | if(StringUtils.isNotEmpty(li.getAcidImage())){ |
| | | try { |
| | | File image=new File(sourceFile+"/"+li.getName()+"核酸截图.jpg"); |
| | | FileUtils.copyURLToFile(new URL(li.getAcidImage()),image); |
| | | comActAcidRecordExcelVO.setAcidImage(new URL(li.getAcidImage())); |
| | | //comActAcidRecordExcelVO.setColorImage(new URL(li.getColorImage())); |
| | | //comActAcidRecordExcelVO.setVaccinationImage(new URL(li.getVaccinationImage())); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | // if(StringUtils.isNotEmpty(li.getAcidImage())){ |
| | | // try { |
| | | // File image=new File(sourceFile+"/"+li.getName()+"核酸截图.jpg"); |
| | | // FileUtils.copyURLToFile(new URL(li.getAcidImage()),image); |
| | | // comActAcidRecordExcelVO.setAcidImage(new URL(li.getAcidImage())); |
| | | // //comActAcidRecordExcelVO.setColorImage(new URL(li.getColorImage())); |
| | | // //comActAcidRecordExcelVO.setVaccinationImage(new URL(li.getVaccinationImage())); |
| | | // } catch (Exception e) { |
| | | // e.printStackTrace(); |
| | | // } |
| | | // } |
| | | if(li.getCheckStatus()==0){ |
| | | comActAcidRecordExcelVO.setCheckStatus("否"); |
| | | } |