提交 5fd47228 authored 作者: zhouzhigang's avatar zhouzhigang

省监管统计

上级 217100da
......@@ -866,11 +866,12 @@ public class FgOrderInfoServiceImpl extends BaseModelServiceImpl<OrderInfo,Integ
.filter(val -> StringUtils.isNotEmpty(val.getIsbn()))
.collect(Collectors.toList());
vo.setTotalOrderType(valList.size());
Integer countrytype = (int) voList.stream().filter(str -> str.getCountryStatus().equals("1")).count();//国家规划教材种类
Integer noCountrytype = (int) voList.stream().filter(str -> str.getCountryStatus().equals("0")).count();//非国家规划教材数量
vo.setCountryType(countrytype);
vo.setNoCountryType(noCountrytype);
vo.setTotalOrderType(countrytype + noCountrytype);
return vo;
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论