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