摘要: mybatis 查询参数为1000,查询效率可以接受, 超过10000,查询效率就比较慢 阅读全文
posted @ 2022-01-14 23:38 northli 阅读(397) 评论(1) 推荐(0) 编辑
摘要: 通过iterator删除 String code_first = "123"; Iterator iterator = list.iterator();while(iterator.hasNext()){ TMP tmp = (TMP) iterator.next(); if(tmp.getCode 阅读全文
posted @ 2022-01-14 19:12 northli 阅读(368) 评论(0) 推荐(0) 编辑
摘要: String str1 = "270026";String str2 = "270001";System.out.println(str1.compareTo(str2)<0?str1:str2); 阅读全文
posted @ 2022-01-14 19:08 northli 阅读(84) 评论(0) 推荐(0) 编辑
摘要: File > Project Structure > Modules > Dependencies > “+” > “JARs or directories...” 阅读全文
posted @ 2022-01-14 12:13 northli 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 使用apache的CollectionUtils工具类 String[] arrayA = new String[] { "1", "2", "3", "4"}; String[] arrayB = new String[] { "3", "4", "5", "6" }; List<String> 阅读全文
posted @ 2022-01-14 12:10 northli 阅读(608) 评论(0) 推荐(0) 编辑