禅道bug修改。
This commit is contained in:
+6
-10
@@ -2639,13 +2639,11 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
|
|||||||
if(CutEnum.CN.getValue().equals(projectCertificationInventoryEO.getCut())){
|
if(CutEnum.CN.getValue().equals(projectCertificationInventoryEO.getCut())){
|
||||||
title = "类别,检验项目,配置项,WVTA ID," +
|
title = "类别,检验项目,配置项,WVTA ID," +
|
||||||
"*标准编号,*责任领域,工程接口人,责任人," +
|
"*标准编号,*责任领域,工程接口人,责任人," +
|
||||||
"交付物类型,交付结果,截止日期,流程状态," +
|
"交付物类型,截止日期";
|
||||||
"报告编号,产品型号,生产企业名称,认证进度";
|
|
||||||
}else{
|
}else{
|
||||||
title = "Category,Inspection Items,Configuration Item,WVTA ID," +
|
title = "Category,Inspection Items,Configuration Item,WVTA ID," +
|
||||||
"*Standard No,*Responsible Field,Eng. Interface,Assignee," +
|
"*Standard No,*Responsible Field,Eng. Interface,Assignee," +
|
||||||
"Deliverable Type,Deliverables Result,Due Date,Process Status," +
|
"Deliverable Type,Due Date";
|
||||||
"Report No,Product Model,Name Of Manufacturer,Homologation Progress";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int pos = file.getOriginalFilename().lastIndexOf(".");
|
int pos = file.getOriginalFilename().lastIndexOf(".");
|
||||||
@@ -3052,21 +3050,19 @@ public class ProjectCertificationInventoryEOServiceImpl extends ServiceImpl<Proj
|
|||||||
if(CutEnum.CN.getValue().equals(projectCertificationInventoryEO.getCut())){
|
if(CutEnum.CN.getValue().equals(projectCertificationInventoryEO.getCut())){
|
||||||
title = "类别,检验项目,配置项,WVTA ID," +
|
title = "类别,检验项目,配置项,WVTA ID," +
|
||||||
"*标准编号,*责任领域,工程接口人,责任人," +
|
"*标准编号,*责任领域,工程接口人,责任人," +
|
||||||
"交付物类型,交付结果,截止日期,流程状态," +
|
"交付物类型,截止日期";
|
||||||
"报告编号,产品型号,生产企业名称,认证进度";
|
|
||||||
}else {
|
}else {
|
||||||
title = "Category,Inspection Items,Configuration Item,WVTA ID," +
|
title = "Category,Inspection Items,Configuration Item,WVTA ID," +
|
||||||
"*Standard No,*Responsible Field,Eng. Interface,Assignee," +
|
"*Standard No,*Responsible Field,Eng. Interface,Assignee," +
|
||||||
"Deliverable Type,Deliverables Result,Due Date,Process Status," +
|
"Deliverable Type,Due Date";
|
||||||
"Report No,Product Model,Name Of Manufacturer,Homologation Progress";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
List<String> list = Arrays.asList(title.split(","));
|
List<String> list = Arrays.asList(title.split(","));
|
||||||
int index = 0;
|
int index = 0;
|
||||||
if(CutEnum.CN.getValue().equals(projectCertificationInventoryEO.getCut())){
|
if(CutEnum.CN.getValue().equals(projectCertificationInventoryEO.getCut())){
|
||||||
index = list.indexOf("认证进度") + 1;
|
index = list.indexOf("截止日期") + 1;
|
||||||
}else{
|
}else{
|
||||||
index = list.indexOf("Homologation Progress") + 1;
|
index = list.indexOf("Due Date") + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//创建临时文件夹
|
//创建临时文件夹
|
||||||
|
|||||||
Reference in New Issue
Block a user