摘要:
String str={"status":200,"msg":"查询成功","data":{"end_date":"-","tax_total":"企业选择不公示"}} JSONObject qxbJson = JSONObject.parseObject(str); SrmSlcQxbInfoVO 阅读全文
摘要:
List<LookupValuesVO> valuesVOList =new ArrayList<>(); LookupValuesVO a1=new LookupValuesVO(); a1.setLookupCode("CNY"); a1.setMeaning("人民币CNY"); values 阅读全文
摘要:
String regEx="[^0-9]";//正则表达式 String str="sd34fgsfgh6756gff1223bvhgh";//待处理的字符串 Pattern pattern = Pattern.compile(regEx); Matcher matcher = pattern.ma 阅读全文
摘要:
1 //import java.util.concurrent.atomic.AtomicInteger; //引入 2 3 4 //将List按照某一字段升序排序 5 List<SrmSfdBidItemLadderVO> itemRank=itemRank.stream().sorted(Com 阅读全文
摘要:
List<SrmSfdBidItemVO> testList = new ArrayList<>(); SrmSfdBidItemVO testLine=new SrmSfdBidItemVO(); testLine.setItemCode("AB"); testLine.setNoTaxPrice 阅读全文
摘要:
SELECT po_line_id, consigned_flag, need_by_date FROM ( SELECT t.rn, t.consigned_flag, t.need_by_date, t.po_line_id FROM ( SELECT ROW_NUMBER ( ) OVER ( 阅读全文
摘要:
排查:字段中存在字符(如空格等) SELECT pla.po_line_id, pla.attribute2 FROM po_lines_all pla WHERE pla.attribute2 IS NOT NULL AND length( translate ( pla.attribute2, 阅读全文
摘要:
解决: 字体选中文,字符编码选UTF-8,点击确定 阅读全文
摘要:
LocalDateTime dateTime=LocalDateTime.now();//当前系统时间(yyyy-MM-dd HH:mm:ss) DateTimeFormatter sdf = DateTimeFormatter.ofPattern("yyyy-MM-dd");//格式化 Strin 阅读全文
摘要:
BigDecimal firstNum=new BigDecimal("3"); BigDecimal secondNum=new BigDecimal("12"); //加法 System.out.println("thirdNum1 = firstNum + secondNum = "+firs 阅读全文