|
|
@@ -72,7 +72,16 @@ public class DataAnalysisServiceImpl implements IDataAnalysisService {
|
|
72
|
72
|
}
|
|
73
|
73
|
}
|
|
74
|
74
|
HashMap<String,Object> obj=new HashMap<>();
|
|
75
|
|
- obj.put("traffic", reportMapper.selectTelephoneData(time));//话务数据
|
|
|
75
|
+ RecordDateView view1=reportMapper.selectTelephoneData(time,1L);//八院话务数据
|
|
|
76
|
+ RecordDateView view2=reportMapper.selectTelephoneData(time,2L);//九院话务数据
|
|
|
77
|
+ RecordDateView view3=new RecordDateView();
|
|
|
78
|
+ view3.setTotal(view1.getTotal()+view2.getTotal());
|
|
|
79
|
+ view3.setIncoming(view1.getIncoming()+view2.getIncoming());
|
|
|
80
|
+ view3.setExhalation(view1.getExhalation()+view2.getExhalation());
|
|
|
81
|
+
|
|
|
82
|
+ obj.put("traffic",view3 );//话务数据
|
|
|
83
|
+ obj.put("eightTraffic",view1 );//八院话务数据
|
|
|
84
|
+ obj.put("nineTraffic", view2);//九院话务数据
|
|
76
|
85
|
obj.put("order", reportMapper.selectRegionOrderCount(time,level,area));//工单数据
|
|
77
|
86
|
|
|
78
|
87
|
return obj;
|
|
|
@@ -314,7 +323,7 @@ public class DataAnalysisServiceImpl implements IDataAnalysisService {
|
|
314
|
323
|
SatisfactionView view= reportMapper.selectSatisfaction();
|
|
315
|
324
|
long total=view.getBasically()+ view.getDissatisfied()+ view.getSatisfied();//总数
|
|
316
|
325
|
HashMap<String,Object> obj=new HashMap<>();
|
|
317
|
|
- DecimalFormat df = new DecimalFormat("#.00");
|
|
|
326
|
+ DecimalFormat df = new DecimalFormat("0.00");
|
|
318
|
327
|
obj.put("basically",view.getBasically());
|
|
319
|
328
|
obj.put("satisfied",view.getSatisfied());
|
|
320
|
329
|
obj.put("dissatisfied",view.getDissatisfied());
|