法规清单导出(英文)

This commit is contained in:
zhn
2022-06-21 09:25:33 +08:00
parent 414756854c
commit c06f4004d0
@@ -1836,8 +1836,14 @@ public class DummyInventoryInfoEOServiceImpl extends ServiceImpl<DummyInventoryI
fileTemp.mkdirs();
//文件
exportFile(dataList,fileInfos);
String excelName = "";
if(CutEnum.CN.getValue().equals(dummyInventoryInfoEO.getCut())){
excelName = "虚拟清单.xlsx";
}else{
excelName = "Virtual list.xlsx";
}
//excel
OutputStream excelOS = new FileOutputStream(path + File.separator + "虚拟清单.xlsx");
OutputStream excelOS = new FileOutputStream(path + File.separator + excelName);
ExportParams exportParams = new ExportParams();
exportParams.setType(ExcelType.XSSF);
if(CutEnum.CN.getValue().equals(dummyInventoryInfoEO.getCut())){