通过行政区划下载excel新增
parent
8c0276ab82
commit
e39dc5b555
|
|
@ -338,6 +338,8 @@ public class WarningController {
|
|||
private List<WarningHistoryListVo> setAll( List<WarningHistoryListVo> vos){
|
||||
if (CollectionUtils.isNotEmpty(vos)){
|
||||
WarningHistoryListVo vo = new WarningHistoryListVo();
|
||||
vo.setWarnSignalType("全部");
|
||||
vo.setEffectArea("总计");
|
||||
int oraSum = vos.stream().mapToInt(WarningHistoryListVo::getOraCount).sum();
|
||||
vo.setOraCount(oraSum);
|
||||
int redSum = vos.stream().mapToInt(WarningHistoryListVo::getRedCount).sum();
|
||||
|
|
|
|||
Loading…
Reference in New Issue