![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java
Clea.Z
这个作者很懒,什么都没留下…
展开
-
Source code does not match the bytecode
get/set遇到Source code does not match the bytecode报错,百度说重新build,依旧无效。检查了一下,是接sql结果的数据类型不对,number类型的数据用string接了。原创 2023-12-07 13:23:52 · 178 阅读 · 0 评论 -
【mybatis】使用<foreach>报错parameter ‘id‘ not found
parameter 'id' not found原创 2023-11-24 10:31:35 · 384 阅读 · 0 评论 -
lambda查询mysql数据库有值但结果为null
A类中的一个is_sort字段有值,但是查询结果result里为null。检查了字段值已经commit了,去看A类的定义,发现is_sort字段需要改成驼峰命名(数据库无需改动)。原创 2023-05-12 17:14:28 · 1152 阅读 · 1 评论 -
【java】stream流将map中的数字字符串string转BigDecimal进行排序
BigdecimalUtil自定义工具类,对String进行处理,避免String转BigDecimal时因为空导致java.lang.NumberFormatException。通过流处理list,将要排序的key值从String转为BigDecimal(String无法直接对数值型进行排序),将key值为空的map排到最后。原创 2023-04-04 18:23:22 · 2513 阅读 · 0 评论 -
【Oracle】查询date类型指定日期的数据
例如表中stock的数据为123456.OF、123456.SZ。//查询表中切分后等于目标字符串的数据。//查询date类型指定日期的数据。原创 2023-04-04 09:45:10 · 1319 阅读 · 0 评论 -
Mac安装node遇到的问题记录
1、使用brew安装node时遇到Homebrew自动更新:可使用control+c暂时停止更新(关闭自动更新请参考其他教程)2、@deMacBook-Pro ~ % node -vzsh: command not found: node@deMacBook-Pro ~ % brew install nodejsUpdating Homebrew...^CWarning: node 15.1.0 is already installed, it's just not linkedYou ca原创 2022-01-25 21:56:45 · 1252 阅读 · 0 评论