会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
岑惜
博客园
首页
新随笔
联系
管理
订阅
2025年3月21日
java -mybatis plus - 写法 <if test="param.isOverdue =='N'"> 报错 NumberFormatException: For input string: "N"
摘要: 1.背景 需要判断一个参数是单一字母时,报错无法转数字?奇怪的很,一脸懵,查了资料才知道,当只有一个字母时,会任务是 ascll码 数字比较,因此会将 param.isOverdue 的值 转数字 2.解决 转字符串就好了 <if test="param.isOverdue !=null and p
阅读全文
posted @ 2025-03-21 09:49 岑惜
阅读(58)
评论(0)
推荐(0)
公告