Mybatis
weixin_45215505
这个作者很懒,什么都没留下…
展开
-
Mybatis:参数
https://www.cnblogs.com/ye-feng-yu/p/10987587.html原创 2020-04-03 15:28:21 · 63 阅读 · 0 评论 -
Mybatis:java.lang.NumberFormatException: For input string:"Y"
在mybatis中遇到<if test="ALL_CURRENT_VIEW!=‘Y’>报错Mybatis:java.lang.NumberFormatException: For input string:“Y”,将<if test="ALL_CURRENT_VIEW=!‘Y’.toString()> 问题解决应该是基本类型用==可以,应用类型要用.toString()...原创 2020-04-02 12:01:20 · 1194 阅读 · 0 评论 -
Mybatis:resultMap当中column
若在sql中的table有重命名吗,在comlumn值里面不需要加重命名的作为前缀,直接加column的名字即可例如:select a.field1 ,b.field2 from table a,table b原创 2020-03-24 10:06:10 · 413 阅读 · 0 评论