Parcourir la source

项目进度详情开发

anderx il y a 1 an
Parent
commit
1c4dc8c412

+ 2 - 2
src/main/java/com/goafanti/common/utils/excel/NewExcelUtil.java

@@ -1908,10 +1908,10 @@ public class NewExcelUtil<T> {
 	public Result exportTaskDetailsExcel(TaskDetailsBo byTid, String uploadPath) {
 		OutputStream out = null;
 		String filename="";
-		uploadPath=uploadPath+"\\"+"tmp\\member_progress.xls";
+		uploadPath=uploadPath+"/"+"tmp/member_progress.xls";
         try {
             FileInputStream fileInputStream = new FileInputStream(uploadPath);
-			Workbook workbook = new XSSFWorkbook(fileInputStream);
+			Workbook workbook = new HSSFWorkbook(fileInputStream);
 			sheet = workbook.getSheetAt(0);
 			Row row = sheet.createRow(5);