项目状态看板--项目状态进度
This commit is contained in:
+6
-5
@@ -187,7 +187,7 @@ public class ProjectStatusBoardServiceImpl implements IProjectStatusBoardService
|
|||||||
map.put("targetMarket",libraryBase.getTargetMarket());//目标市场
|
map.put("targetMarket",libraryBase.getTargetMarket());//目标市场
|
||||||
|
|
||||||
//1. 项目当前状态--projectState(蓝/红/黄/绿)-->studio视角下的数据
|
//1. 项目当前状态--projectState(蓝/红/黄/绿)-->studio视角下的数据
|
||||||
int blue = 0;
|
// int blue = 0;
|
||||||
int red = 0;
|
int red = 0;
|
||||||
int yellow = 0;
|
int yellow = 0;
|
||||||
int green = 0;
|
int green = 0;
|
||||||
@@ -240,7 +240,7 @@ public class ProjectStatusBoardServiceImpl implements IProjectStatusBoardService
|
|||||||
String conditionAssessment = conditionAssessmentEO.getConditionAssessment();
|
String conditionAssessment = conditionAssessmentEO.getConditionAssessment();
|
||||||
if(StringUtils.isNotBlank(conditionAssessment)){
|
if(StringUtils.isNotBlank(conditionAssessment)){
|
||||||
if(CurrentProjectStatusEnum.BLUE.getValue().equals(conditionAssessment)){
|
if(CurrentProjectStatusEnum.BLUE.getValue().equals(conditionAssessment)){
|
||||||
blue++;
|
// blue++;
|
||||||
}else if(CurrentProjectStatusEnum.RED.getValue().equals(conditionAssessment)){
|
}else if(CurrentProjectStatusEnum.RED.getValue().equals(conditionAssessment)){
|
||||||
red++;
|
red++;
|
||||||
}else if(CurrentProjectStatusEnum.YELLOW.getValue().equals(conditionAssessment)){
|
}else if(CurrentProjectStatusEnum.YELLOW.getValue().equals(conditionAssessment)){
|
||||||
@@ -252,7 +252,8 @@ public class ProjectStatusBoardServiceImpl implements IProjectStatusBoardService
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
String projectState = blue+"/"+red+"/"+yellow+"/"+green;
|
String projectState = red+"/"+yellow+"/"+green;
|
||||||
|
// String projectState = blue+"/"+red+"/"+yellow+"/"+green;
|
||||||
map.put("projectStatus",projectState);//项目当前状态
|
map.put("projectStatus",projectState);//项目当前状态
|
||||||
|
|
||||||
String inventory = "";
|
String inventory = "";
|
||||||
@@ -284,8 +285,8 @@ public class ProjectStatusBoardServiceImpl implements IProjectStatusBoardService
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
inventory = inventoryNotStarted+"/"+inventoryListToConfirm+"/"+inventoryAccepted+"/"+inventoryRejected+"/";
|
inventory = inventoryNotStarted+"/"+inventoryListToConfirm+"/"+inventoryAccepted+"/"+inventoryRejected;
|
||||||
task = taskNotStarted+"/"+taskListToConfirm+"/"+taskAccepted+"/"+taskRejected+"/";
|
task = taskNotStarted+"/"+taskListToConfirm+"/"+taskAccepted+"/"+taskRejected;
|
||||||
}
|
}
|
||||||
map.put("inventory",inventory);//清单确认状态
|
map.put("inventory",inventory);//清单确认状态
|
||||||
map.put("task",task);//任务确认状态
|
map.put("task",task);//任务确认状态
|
||||||
|
|||||||
Reference in New Issue
Block a user