会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
哎丫丫呀喂
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2021年2月8日
JAVA 字符串类型的JSON转实体类
摘要: String str={"status":200,"msg":"查询成功","data":{"end_date":"-","tax_total":"企业选择不公示"}} JSONObject qxbJson = JSONObject.parseObject(str); SrmSlcQxbInfoVO
阅读全文
posted @ 2021-02-08 17:04 哎丫丫呀喂
阅读(234)
评论(0)
推荐(0)
2021年2月3日
JAVA 从一个List中匹配另一个List的值并返回一个List
摘要: List<LookupValuesVO> valuesVOList =new ArrayList<>(); LookupValuesVO a1=new LookupValuesVO(); a1.setLookupCode("CNY"); a1.setMeaning("人民币CNY"); values
阅读全文
posted @ 2021-02-03 14:15 哎丫丫呀喂
阅读(2978)
评论(0)
推荐(0)
2021年2月1日
JAVA 从字符串中提取数字
摘要: String regEx="[^0-9]";//正则表达式 String str="sd34fgsfgh6756gff1223bvhgh";//待处理的字符串 Pattern pattern = Pattern.compile(regEx); Matcher matcher = pattern.ma
阅读全文
posted @ 2021-02-01 18:51 哎丫丫呀喂
阅读(811)
评论(0)
推荐(0)
JAVA 取自增序号(可用于实体类排序)
摘要: 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 哎丫丫呀喂
阅读(3615)
评论(0)
推荐(0)
JDK8 取实体类最大最小值
摘要: List<SrmSfdBidItemVO> testList = new ArrayList<>(); SrmSfdBidItemVO testLine=new SrmSfdBidItemVO(); testLine.setItemCode("AB"); testLine.setNoTaxPrice
阅读全文
posted @ 2021-02-01 10:43 哎丫丫呀喂
阅读(561)
评论(0)
推荐(0)
2021年1月29日
oracle 根据分组取日期最大的那条数据
摘要: 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 (
阅读全文
posted @ 2021-01-29 14:40 哎丫丫呀喂
阅读(3801)
评论(0)
推荐(0)
oracle某一字段使用to_number报无效数字的错
摘要: 排查:字段中存在字符(如空格等) SELECT pla.po_line_id, pla.attribute2 FROM po_lines_all pla WHERE pla.attribute2 IS NOT NULL AND length( translate ( pla.attribute2,
阅读全文
posted @ 2021-01-29 11:16 哎丫丫呀喂
阅读(3167)
评论(0)
推荐(0)
2021年1月28日
使用SecureCRT查看日志中文乱码
摘要: 解决: 字体选中文,字符编码选UTF-8,点击确定
阅读全文
posted @ 2021-01-28 21:03 哎丫丫呀喂
阅读(490)
评论(0)
推荐(0)
2021年1月26日
JAVA 使用DateTimeFormatter(LocalDateTime和LocalDate格式化)
摘要: LocalDateTime dateTime=LocalDateTime.now();//当前系统时间(yyyy-MM-dd HH:mm:ss) DateTimeFormatter sdf = DateTimeFormatter.ofPattern("yyyy-MM-dd");//格式化 Strin
阅读全文
posted @ 2021-01-26 16:54 哎丫丫呀喂
阅读(1103)
评论(0)
推荐(0)
JAVA BigDecimal 加减乘除算法、舍入模式以及去掉精度
摘要: BigDecimal firstNum=new BigDecimal("3"); BigDecimal secondNum=new BigDecimal("12"); //加法 System.out.println("thirdNum1 = firstNum + secondNum = "+firs
阅读全文
posted @ 2021-01-26 14:11 哎丫丫呀喂
阅读(512)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告