市场法规清单、市场认证清单导出excel文件名问题完善。
This commit is contained in:
+2
-2
@@ -844,9 +844,9 @@ public class AuthDummyInventoryInfoEOServiceImpl extends ServiceImpl<AuthDummyIn
|
|||||||
//文件
|
//文件
|
||||||
String excelName = "";
|
String excelName = "";
|
||||||
if(CutEnum.CN.getValue().equals(authDummyInventoryInfoEO.getCut())){
|
if(CutEnum.CN.getValue().equals(authDummyInventoryInfoEO.getCut())){
|
||||||
excelName = baseList.get(0).getName() + " 市场认证清单.xlsx";
|
excelName = baseList.get(0).getName() + "市场认证清单.xlsx";
|
||||||
}else{
|
}else{
|
||||||
excelName = baseList.get(0).getName() + " Market Certification List.xlsx";
|
excelName = baseList.get(0).getName() + "Market Certification List.xlsx";
|
||||||
}
|
}
|
||||||
|
|
||||||
this.exportFile(dataList,fileInfos,path);
|
this.exportFile(dataList,fileInfos,path);
|
||||||
|
|||||||
+2
-2
@@ -2740,9 +2740,9 @@ public class DummyInventoryInfoEOServiceImpl extends ServiceImpl<DummyInventoryI
|
|||||||
exportFile(dataList,fileInfos);
|
exportFile(dataList,fileInfos);
|
||||||
String excelName = "";
|
String excelName = "";
|
||||||
if(CutEnum.CN.getValue().equals(dummyInventoryInfoEO.getCut())){
|
if(CutEnum.CN.getValue().equals(dummyInventoryInfoEO.getCut())){
|
||||||
excelName = baseList.get(0).getName() + ".xlsx";
|
excelName = baseList.get(0).getName() +"市场法规清单"+ ".xlsx";
|
||||||
}else{
|
}else{
|
||||||
excelName = baseList.get(0).getName() + ".xlsx";
|
excelName = baseList.get(0).getName() +"Market Regulation List"+ ".xlsx";
|
||||||
}
|
}
|
||||||
//excel
|
//excel
|
||||||
String excelNameRep = excelName.replace('/', '、');
|
String excelNameRep = excelName.replace('/', '、');
|
||||||
|
|||||||
Reference in New Issue
Block a user