|
@@ -310,10 +310,16 @@ public class BusinessController extends BaseController {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
});
|
|
});
|
|
|
|
+ //最后的合计
|
|
|
|
+ ArrayList<String> lastList = new ArrayList<>();
|
|
|
|
+ lastList.add("");
|
|
|
|
+ lastList.add("合计");
|
|
|
|
+ headers.add(lastList);
|
|
//处理业务数据
|
|
//处理业务数据
|
|
ArrayList<Object> list0 = new ArrayList<>();
|
|
ArrayList<Object> list0 = new ArrayList<>();
|
|
list0.add("实际检测数量");
|
|
list0.add("实际检测数量");
|
|
list0.addAll(collect0);
|
|
list0.addAll(collect0);
|
|
|
|
+ list0.add(collect0.stream().reduce(Integer::sum).get());
|
|
dates.add(list0);
|
|
dates.add(list0);
|
|
|
|
|
|
ArrayList<Object> list1 = new ArrayList<>();
|
|
ArrayList<Object> list1 = new ArrayList<>();
|