| | |
| | | // 如果用户取消操作,不显示额外提示 |
| | | tempFile.delete(); // 删除临时文件 |
| | | } |
| | | frame1.setEnabled(true); |
| | | } |
| | | |
| | | public static void buildTrack(List<DjJdgzTrackRecord> list, String path, JFrame frame1) { |
| | |
| | | Row row = sheet.createRow(num); |
| | | |
| | | Cell cell = row.createCell(0); |
| | | cell.setCellValue(list.get(i).getId()); |
| | | cell.setCellValue(list.get(i).getId().toString()); |
| | | |
| | | cell = row.createCell(1); |
| | | cell.setCellValue(date); |
| | |
| | | } |
| | | cell = row.createCell(20); |
| | | if (StringUtils.isNotBlank(list.get(i).getGeneralRepairUnitContact())) { |
| | | cell.setCellValue(list.get(i).getGeneralRepairUnitDirector()); |
| | | cell.setCellValue(list.get(i).getGeneralRepairUnitContact()); |
| | | } |
| | | cell = row.createCell(21); |
| | | if (StringUtils.isNotBlank(list.get(i).getRepairUnit())) { |