法规清单导出(英文)
This commit is contained in:
+7
-1
@@ -1836,8 +1836,14 @@ public class DummyInventoryInfoEOServiceImpl extends ServiceImpl<DummyInventoryI
|
|||||||
fileTemp.mkdirs();
|
fileTemp.mkdirs();
|
||||||
//文件
|
//文件
|
||||||
exportFile(dataList,fileInfos);
|
exportFile(dataList,fileInfos);
|
||||||
|
String excelName = "";
|
||||||
|
if(CutEnum.CN.getValue().equals(dummyInventoryInfoEO.getCut())){
|
||||||
|
excelName = "虚拟清单.xlsx";
|
||||||
|
}else{
|
||||||
|
excelName = "Virtual list.xlsx";
|
||||||
|
}
|
||||||
//excel
|
//excel
|
||||||
OutputStream excelOS = new FileOutputStream(path + File.separator + "虚拟清单.xlsx");
|
OutputStream excelOS = new FileOutputStream(path + File.separator + excelName);
|
||||||
ExportParams exportParams = new ExportParams();
|
ExportParams exportParams = new ExportParams();
|
||||||
exportParams.setType(ExcelType.XSSF);
|
exportParams.setType(ExcelType.XSSF);
|
||||||
if(CutEnum.CN.getValue().equals(dummyInventoryInfoEO.getCut())){
|
if(CutEnum.CN.getValue().equals(dummyInventoryInfoEO.getCut())){
|
||||||
|
|||||||
Reference in New Issue
Block a user