mybatis mysql like 传参问题_小白请教一下关于mybatis传参的问题

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

2019-10-24 17:16:51.577 [http-nio-8080-exec-8] WARN com.yan.core.aspect.LogAspect - Yan -> [LogAspect 异常通知] 执行类方法 : com.yan.common.wx.controller.WxController.getCheckInDayRecord([zhangsan]), 异常 : nested exception is org.apache.ibatis.exceptions.PersistenceException:

### Error querying database. Cause: java.lang.UnsupportedOperationException

### The error may exist in file [E:\eclipse2\eclipse\workSpace_wqgj_interface\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\wx-demo\WEB-INF\classes\mybatis\common\user\SysUserMapper.xml]

### The error may involve com.yan.common.user.mapper.SysUserMapper.getCheckInDayRecord

### The error occurred while handling results

### SQL: select check_in_day from sys_checkinday where user=? and check_in_day between ? and ?

### Cause: java.lang.UnsupportedOperationException

2019-10-24 17:16:51.607 [http-nio-8080-exec-8] INFO com.yan.core.aspect.LogAspect - Yan -> [LogAspect 返回通知] 执行类方法 : com.yan.common.wx.controller.WxController.exceptionHandler([org.apache.shiro.web.servlet.ShiroHttpServletRequest@3fe5c8dd, com.alibaba.druid.support.http.WebStatFilter$StatHttpServletResponseWrapper@6cf0376, org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:

### Error querying database. Cause: java.lang.UnsupportedOperationException

### The error may exist in file [E:\eclipse2\eclipse\workSpace_wqgj_interface\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps\wx-demo\WEB-INF\classes\mybatis\common\user\SysUserMapper.xml]

### The error may involve com.yan.common.user.mapper.SysUserMapper.getCheckInDayRecord

### The error occurred while handling results

### SQL: select check_in_day from sys_checkinday where user=? and check_in_day between ? and ?

### Cause: java.lang.UnsupportedOperationException]), 返回结果 : /500/error

404

2019-10-24 17:16:51.893 [http-nio-8080-exec-8] INFO com.yan.core.aspect.LogAspect - Yan -> [LogAspect 返回通知] 执行类方法 : com.yan.common.index.controller.IndexController.error([404]), 返回结果 : error

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值