Mybatis 中 if test字符串比较问题
来源:互联网 发布:剑灵捏脸数据fate 编辑:程序博客网 时间:2024/05/17 23:23
<if test="'0'==levelCode">
</if>
这样会报错NumberFormatException
如果换成
<if test="'0'.toString()==levelCode">
</if>
</if>
这样会报错NumberFormatException
如果换成
<if test="'0'.toString()==levelCode">
</if>
就ok了
转载自:http://blog.csdn.net/wwc8511/article/details/12173315
0 0
- Mybatis 中 if test字符串比较问题
- Mybatis 中 if test字符串比较问题
- Mybatis 中 if test字符串比较问题
- Mybatis的if test字符串比较问题
- Mybatis的if test字符串比较问题
- Mybatis的if test字符串比较问题
- Mybatis的if test字符串比较问题
- Mybatis的if test字符串比较问题
- Mybatis的if test字符串比较问题
- Mybatis if test中字符串比较
- Mybatis if test中字符串比较
- Mybatis if test中字符串比较(内双外单)
- mybatis if test 字符串比较错误处理
- MyBatis if test 字符串判断问题
- MyBatis if test 字符串判断问题
- mybatis if test 字符串判断问题
- Mybatis的if test字符串比较问题,mapper用等于又要用>比较<比较解决冲突
- Mybatis if test无效的原因(字符串比较)
- Ambari在线repo安装
- XPath 多条件查询语句
- node + Express 服务器性能实验
- Mybatis的if test字符串比较问题
- mybatis动态SQL语句
- Mybatis 中 if test字符串比较问题
- android 比较靠谱的图片压缩
- NGUI的代码控制
- uva11992区间修改线段树
- 跳台阶解析【剑指Offer】
- 操作队列
- LeetCode Reverse Linked List
- XPath入门教程
- 使用wget 命令下载JDK的方法