摘要: 根据父级单位数进行排序Dept dept1 = new Dept();dept1.setDeptId("X00xx1");dept1.setDeptName("X00xx1单位名称");dept1.setAncestors("0,X00001,X00002");Dept dept2 = new De 阅读全文
posted @ 2021-11-26 17:17 northli 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
摘要: 人要有事情干,才能实现其价值,也许人活着才有意义吧。 阅读全文
posted @ 2021-11-10 16:15 northli 阅读(9) 评论(0) 推荐(0) 编辑
摘要: 当你拥有的时候,请记得分享给他人 阅读全文
posted @ 2021-11-10 15:54 northli 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 由山脚爬上来,站在高处,眺望下风景,要站在高处吗,还是回归山脚,先站在高处吧,欣赏欣赏风景,心态啊,藐视?淡定?平静?无所事事?平常心! 不以物喜不以己悲,仁爱,不要抓着高处不放,等着传承吧,也许后面的人可以推动走着更远,对,是持续性~~~~ 阅读全文
posted @ 2021-11-10 15:42 northli 阅读(34) 评论(0) 推荐(0) 编辑
摘要: 什么面?油泼面! 什么面??有什么面?! 阅读全文
posted @ 2021-11-09 10:03 northli 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 做的快是因为熟练了 阅读全文
posted @ 2021-11-08 17:12 northli 阅读(13) 评论(0) 推荐(0) 编辑