摘要: List<String> strs = Arrays.asList("aaa", "bbb", "ccc", "ddd"); String listToStr= strs.stream().collect(Collectors.joining(",")); 参考: https://blog.csdn 阅读全文
posted @ 2021-11-23 17:32 northli 阅读(944) 评论(0) 推荐(0) 编辑
摘要: 一、String list中是否有重复元素 public static void main(String[] args) { List<String> stringList=new ArrayList<>(Arrays.asList("a","a","b","c")); long count = s 阅读全文
posted @ 2021-11-23 17:18 northli 阅读(2067) 评论(0) 推荐(0) 编辑
摘要: sql中的having表示对查询结果之后的过滤,下面的例子是对group by之后的结果进行过滤 SELECT DISTINCT(dz_code) from zb_tech_info_collect_unitwhereszjd = '20212'and ssfd_id in (select dept 阅读全文
posted @ 2021-11-23 09:45 northli 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 用处,意义,价值,意思,,,是同义词 阅读全文
posted @ 2021-11-23 09:44 northli 阅读(17) 评论(0) 推荐(0) 编辑