|
|
@@ -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);
|
|
|
|