摘要: https://www.cnblogs.com/dabaie/p/14850123.html 阅读全文
posted @ 2022-01-19 10:54 哎丫丫呀喂 阅读(270) 评论(0) 推荐(0) 编辑
摘要: List<LineVO> list = listMap.entrySet().stream().findFirst().get().getValue(); 阅读全文
posted @ 2022-01-19 10:53 哎丫丫呀喂 阅读(3753) 评论(0) 推荐(0) 编辑
摘要: let endDate =this.$moment(new Date('2022-01-01').getTime()+365 * 24 * 60 * 60 * 1000).format("YYYY-MM-DD"); 阅读全文
posted @ 2022-01-11 14:40 哎丫丫呀喂 阅读(737) 评论(0) 推荐(0) 编辑
摘要: String a="aaaaa"; String b="bbbbb"; String c=null; System.out.println(StrUtil.join(",",a,b,c)); String d= Stream.of(a,b,c).filter(o->!ObjectUtils.isEm 阅读全文
posted @ 2021-12-29 15:00 哎丫丫呀喂 阅读(54) 评论(0) 推荐(0) 编辑
摘要: 1、低级但很实用:解决Excel导入MySQL日期为0000-00-00-深圳网络公司-创络 (chuangluo.com) 2、直接将数据库对应字段设置成varchar类型也可 阅读全文
posted @ 2021-12-25 18:30 哎丫丫呀喂 阅读(246) 评论(0) 推荐(0) 编辑
摘要: Excel中将时间格式转化成时间戳格式 阅读全文
posted @ 2021-12-23 16:21 哎丫丫呀喂 阅读(58) 评论(0) 推荐(0) 编辑
摘要: String regex = "^1[345678]\\d{9}$"; Pattern pattern = Pattern.compile(regex); Matcher matcher = pattern.matcher("111111111111"); if(!matcher.matches() 阅读全文
posted @ 2021-12-14 11:23 哎丫丫呀喂 阅读(1842) 评论(0) 推荐(0) 编辑
摘要: int num=(int)(Math.random()*(MAX-MIN+1)+MIN); //例如生成1000-9999之间的随机数 int num=(int)(Math.random()*(9999-1000+1)+1000); 阅读全文
posted @ 2021-12-13 16:36 哎丫丫呀喂 阅读(129) 评论(0) 推荐(0) 编辑
摘要: SELECT * FROM expert t1 JOIN ( SELECT ROUND( RAND( ) * ( ( SELECT MAX( expert_id ) FROM expert ) - ( SELECT MIN( expert_id ) FROM expert ) ) + ( SELEC 阅读全文
posted @ 2021-10-12 17:32 哎丫丫呀喂 阅读(119) 评论(0) 推荐(0) 编辑
摘要: public class test{ // 设置bean的某个属性值 public static void setProperty(MaterialPriceLineVO materialPriceLineVO, String fieldName, String value) throws Exce 阅读全文
posted @ 2021-09-02 17:39 哎丫丫呀喂 阅读(1128) 评论(0) 推荐(0) 编辑