摘要: HeaderVO headerVO=headerVOList.stream().max(Comparator.comparing(HeaderVO::getCreationDate)).get(); 阅读全文
posted @ 2021-06-01 14:14 哎丫丫呀喂 阅读(1079) 评论(0) 推荐(0) 编辑
摘要: let barginFlag=[1,2,3,4]; let a=3; let b=9; //存在,flag1==0 let flag1= barginFlag.findIndex(item => item a) console.log(flag1) //不存在:flag2 1 let flag2= 阅读全文
posted @ 2021-05-26 15:02 哎丫丫呀喂 阅读(17725) 评论(0) 推荐(0) 编辑
摘要: purList = purList.stream().collect(Collectors.collectingAndThen(Collectors.toCollection(() -> new TreeSet<>(Comparator.comparing(priceVO :: getLineId) 阅读全文
posted @ 2021-05-24 16:01 哎丫丫呀喂 阅读(26) 评论(0) 推荐(0) 编辑
摘要: purList = purList.stream().sorted(Comparator.comparing(priceVO::getItemId).thenComparing(priceVO::getItemVersionNum,Comparator.nullsLast(String::compa 阅读全文
posted @ 2021-05-24 15:31 哎丫丫呀喂 阅读(438) 评论(0) 推荐(0) 编辑
摘要: import java.text.ParseException; import java.text.SimpleDateFormat; import java.time.*; import java.time.format.DateTimeFormatter; import java.util.Ca 阅读全文
posted @ 2021-05-12 13:44 哎丫丫呀喂 阅读(741) 评论(0) 推荐(0) 编辑
摘要: alter table srm_sfd_auction_header alter column created_by set default 111; alter table srm_sfd_auction_header change `creation_date` `creation_date` 阅读全文
posted @ 2021-03-10 15:04 哎丫丫呀喂 阅读(597) 评论(0) 推荐(0) 编辑
摘要: List<Integer> list = categoryIdList.stream().filter(item -> itemCategoryIdList.contains(item)).collect(Collectors.toList()); 阅读全文
posted @ 2021-02-25 11:08 哎丫丫呀喂 阅读(368) 评论(0) 推荐(0) 编辑
摘要: List<CategoriesVO> categoriesVOList = JSON.parseArray(responseData.getData().toString(), CategoriesVO.class); CategoriesVO categoriesVO=((JSONObject)J 阅读全文
posted @ 2021-02-25 10:35 哎丫丫呀喂 阅读(469) 评论(0) 推荐(0) 编辑
摘要: List<String> numList=dataList.stream().filter(o->o.getNum()!=null).map(SrmHeaderVO::getNum).distinct().collect(Collectors.toList()); 阅读全文
posted @ 2021-02-24 14:31 哎丫丫呀喂 阅读(1737) 评论(0) 推荐(0) 编辑
摘要: //在页面渲染时使用( 在created()方法中 ) if (userType "EX") { this.tableConfig.tableColumns=this.tableConfig.tableColumns.filter(col=>col.key!='supplyCol') } 阅读全文
posted @ 2021-02-23 14:02 哎丫丫呀喂 阅读(1387) 评论(0) 推荐(0) 编辑