2021年7月16日

摘要: list.stream.filter(s->s.getName().equals(name)).findAny().isPresent(); 存在返回 true 否则 返回 false 阅读全文
posted @ 2021-07-16 11:54 Jun-Wang 阅读(3743) 评论(0) 推荐(0)
摘要: Java List.contains()方法使用 int id = 1; categoryIds.contains(id()) 阅读全文
posted @ 2021-07-16 11:21 Jun-Wang 阅读(811) 评论(0) 推荐(0)
摘要: 1.批量新增 <insert id="insertBatch" parameterType="java.util.List"> insert into th_shopping_Cart (itemCode, userId, number) values <foreach collection="li 阅读全文
posted @ 2021-07-16 10:24 Jun-Wang 阅读(51) 评论(0) 推荐(0)

导航