screen-job/src/main/java/com/moral/api/task/EmilInsetTask.java | ●●●●● patch | view | raw | blame | history |
screen-job/src/main/java/com/moral/api/task/EmilInsetTask.java
@@ -40,7 +40,7 @@ public void emilTask()throws IOException { String startTime = DateUtils.dateToDateString(DateUtils.addDays(new Date(),-1),DateUtils.yyyy_MM_dd_EN); List<DeviceExcelDTO> list = deviceService.ListDeviceExcel(startTime,null,72); String path = Objects.requireNonNull(this.getClass().getClassLoader().getResource("")).getPath(); String path = System.getProperty("user.dir")+"/"; String fileName = String.format("%s疾控中心数据-%s.xlsx",path,startTime); ByteArrayOutputStream out = null; try {