|
@@ -920,8 +920,32 @@ public class ZsyzCommonServiceImpL implements IZsyzCommonService {
|
|
|
mapMonth.put("yxxsMonth",yxxsMonth);//有效线索(月)
|
|
|
mapMonth.put("yxxsYear",yxxsYear);//有效线索(年)
|
|
|
mapList.add(mapMonth);
|
|
|
+
|
|
|
+ //合计
|
|
|
+ Map<String, Object> mapMonthhj = new HashMap<>();
|
|
|
mapMonth.put("name","合计");
|
|
|
- mapList.add(mapMonth);
|
|
|
+ Long zswcYearhj =0L;//招商外出天数(年)
|
|
|
+ Long zswcMonthhj =0L;//招商外出天数(月)
|
|
|
+ Long sjksYearhj =0L;//对接客商次数(年)
|
|
|
+ Long sjksMonthhj =0L;//对接客商次数(月)
|
|
|
+ Long yxxsMonthhj = 0L;//有效线索(月)
|
|
|
+ Long yxxsYearhj = 0L;//有效线索(年)
|
|
|
+
|
|
|
+ for (Map<String, Object> stringObjectMap : mapList) {
|
|
|
+ zswcYearhj =zswcYearhj + Long.valueOf(stringObjectMap.get("zswcYear").toString()) ;
|
|
|
+ zswcMonthhj =zswcMonthhj + Long.valueOf(stringObjectMap.get("zswcMonth").toString());
|
|
|
+ sjksYearhj =sjksYearhj + Long.valueOf(stringObjectMap.get("sjksYear").toString());
|
|
|
+ sjksMonthhj =sjksMonthhj + Long.valueOf(stringObjectMap.get("sjksMonth").toString());
|
|
|
+ yxxsMonthhj =yxxsMonthhj + Long.valueOf(stringObjectMap.get("yxxsMonth").toString());
|
|
|
+ yxxsYearhj =yxxsYearhj + Long.valueOf(stringObjectMap.get("yxxsYear").toString());
|
|
|
+ }
|
|
|
+ mapMonthhj.put("zswcMonth",zswcMonthhj);//招商外出天数(月)
|
|
|
+ mapMonthhj.put("zswcYear",zswcYearhj);//招商外出天数(年)
|
|
|
+ mapMonthhj.put("sjksMonth",sjksMonthhj);//对接客商次数(月)
|
|
|
+ mapMonthhj.put("sjksYear",sjksYearhj);//对接客商次数(年)
|
|
|
+ mapMonthhj.put("yxxsMonth",yxxsMonthhj);//有效线索(月)
|
|
|
+ mapMonthhj.put("yxxsYear",yxxsYearhj);//有效线索(年)
|
|
|
+ mapList.add(mapMonthhj);
|
|
|
}
|
|
|
return mapList;
|
|
|
}
|