修复虚拟清单导出文件名带有/问题
This commit is contained in:
+2
-1
@@ -2315,7 +2315,8 @@ public class DummyInventoryInfoEOServiceImpl extends ServiceImpl<DummyInventoryI
|
||||
excelName = baseList.get(0).getName() + " Virtual list.xlsx";
|
||||
}
|
||||
//excel
|
||||
OutputStream excelOS = new FileOutputStream(path + File.separator + excelName);
|
||||
String excelNameRep = excelName.replace('/', '、');
|
||||
OutputStream excelOS = new FileOutputStream(path + File.separator + excelNameRep);
|
||||
ExportParams exportParams = new ExportParams();
|
||||
exportParams.setType(ExcelType.XSSF);
|
||||
if(CutEnum.CN.getValue().equals(dummyInventoryInfoEO.getCut())){
|
||||
|
||||
Reference in New Issue
Block a user