会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Mr.Ming2
博客园
首页
新随笔
联系
订阅
管理
随笔分类 -
mybatis
MyBatis注解select in参数
摘要:/** * * @param ids '1,2,3' * @return */ @Select("select * from user_info where id in (${ids})") List<UserInfo> getUserbyIds(@Param("ids")String ids);
阅读全文
posted @
2016-09-08 15:01
Mr.Ming2
阅读(18423)
评论(1)
推荐(0)
mybatis运行时错误Illegal argument exception argument type mismatch
摘要:使用注解时遇到该错误 使用XML应该也会有相应的错误 解决办法:查看是不是Dao接口的参数列表没有加@Param注解 参数过多时需要该注解指明参数
阅读全文
posted @
2016-08-23 17:34
Mr.Ming2
阅读(2670)
评论(0)
推荐(0)
公告