|
|
|
@ -1084,6 +1084,7 @@ public class ReportServiceImpl implements ReportService {
|
|
|
|
|
result.put("capacityLoadList",capacityLoadList);
|
|
|
|
|
Float planCapacity = 0f;
|
|
|
|
|
Float standardCapacity = 0f;
|
|
|
|
|
Float standardMonthCapacity = 0f;
|
|
|
|
|
ArrayList<HashMap<String, Object>> eightList = new ArrayList<>();
|
|
|
|
|
ArrayList<Float> planHoursList = new ArrayList<>();
|
|
|
|
|
ArrayList<Float> planUndoneHoursList = new ArrayList<>();
|
|
|
|
@ -1112,6 +1113,7 @@ public class ReportServiceImpl implements ReportService {
|
|
|
|
|
planCapacity += Float.parseFloat(String.valueOf(et));
|
|
|
|
|
}
|
|
|
|
|
standardCapacity += Float.valueOf(String.valueOf(map.get("standardWeekCapacity")));
|
|
|
|
|
standardMonthCapacity += Float.valueOf(String.valueOf(map.get("standardMonthCapacity")));
|
|
|
|
|
//比率 计划工时 / 标准产能 * 100
|
|
|
|
|
ArrayList<String> rateList = new ArrayList<>();
|
|
|
|
|
rateList.add("0.00");
|
|
|
|
@ -1129,10 +1131,11 @@ public class ReportServiceImpl implements ReportService {
|
|
|
|
|
eightList.add(resourceMap);
|
|
|
|
|
}
|
|
|
|
|
// result.put("planCapacity",Math.round(planCapacity));
|
|
|
|
|
Map<String, String> capacityLoadUNPlanHours = reportMapper.getCapacityLoadUNPlanHours();
|
|
|
|
|
Map<String, String> capacityLoadUNPlanHours = reportMapper.getCapacityLoadUNPlanHours(workCenter);
|
|
|
|
|
result.put("planCapacity",capacityLoadUNPlanHours.get("tardinessWork"));
|
|
|
|
|
|
|
|
|
|
result.put("standardCapacity",Math.round(standardCapacity));
|
|
|
|
|
result.put("standardMonthCapacity",Math.round(standardMonthCapacity));
|
|
|
|
|
//八个柱状图
|
|
|
|
|
result.put("eightList",eightList);
|
|
|
|
|
//中心 计划工时、未完成工时List
|
|
|
|
|