![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
猿类不苟且
Hello world!!!
展开
-
Thymeleaf获取复选框参数和回显
<div class="col-sm-8"> <input type ="checkbox" name="yxxq" th:each ="role : ${xqglList}" th:value="${role.id}" th:text ="${role.xqmc}" th:attr ="check...原创 2019-03-18 22:00:53 · 6426 阅读 · 1 评论 -
lambda表达式之求和,分组排序,for循环
1.求和List<AjStatResponse> result = new ArrayList<>();Integer sum = result.stream().mapToInt(AjStatResponse::getJcajsl).sum();似乎都是用流的方式获取,这里stream()可以求double long short 等基本类型的合,当然,sum(...原创 2019-03-18 22:14:48 · 6747 阅读 · 0 评论