02 2021 档案

摘要:List<Integer> list = categoryIdList.stream().filter(item -> itemCategoryIdList.contains(item)).collect(Collectors.toList()); 阅读全文
posted @ 2021-02-25 11:08 晓xia 阅读(398) 评论(0) 推荐(0)
摘要:List<CategoriesVO> categoriesVOList = JSON.parseArray(responseData.getData().toString(), CategoriesVO.class); CategoriesVO categoriesVO=((JSONObject)J 阅读全文
posted @ 2021-02-25 10:35 晓xia 阅读(512) 评论(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 晓xia 阅读(1920) 评论(0) 推荐(0)
摘要://在页面渲染时使用( 在created()方法中 ) if (userType "EX") { this.tableConfig.tableColumns=this.tableConfig.tableColumns.filter(col=>col.key!='supplyCol') } 阅读全文
posted @ 2021-02-23 14:02 晓xia 阅读(1481) 评论(0) 推荐(0)
摘要:String str={"status":200,"msg":"查询成功","data":{"end_date":"-","tax_total":"企业选择不公示"}} JSONObject qxbJson = JSONObject.parseObject(str); SrmSlcQxbInfoVO 阅读全文
posted @ 2021-02-08 17:04 晓xia 阅读(258) 评论(0) 推荐(0)
摘要:List<LookupValuesVO> valuesVOList =new ArrayList<>(); LookupValuesVO a1=new LookupValuesVO(); a1.setLookupCode("CNY"); a1.setMeaning("人民币CNY"); values 阅读全文
posted @ 2021-02-03 14:15 晓xia 阅读(3010) 评论(0) 推荐(0)
摘要:String regEx="[^0-9]";//正则表达式 String str="sd34fgsfgh6756gff1223bvhgh";//待处理的字符串 Pattern pattern = Pattern.compile(regEx); Matcher matcher = pattern.ma 阅读全文
posted @ 2021-02-01 18:51 晓xia 阅读(817) 评论(0) 推荐(0)
摘要:1 //import java.util.concurrent.atomic.AtomicInteger; //引入 2 3 4 //将List按照某一字段升序排序 5 List<SrmSfdBidItemLadderVO> itemRank=itemRank.stream().sorted(Com 阅读全文
posted @ 2021-02-01 10:49 晓xia 阅读(3644) 评论(0) 推荐(0)
摘要:List<SrmSfdBidItemVO> testList = new ArrayList<>(); SrmSfdBidItemVO testLine=new SrmSfdBidItemVO(); testLine.setItemCode("AB"); testLine.setNoTaxPrice 阅读全文
posted @ 2021-02-01 10:43 晓xia 阅读(569) 评论(0) 推荐(0)