AOP日志 -- 访问操作错误
无论查询订单还是用户操作均显示错误

发现一篇类似的文章,具体原理还不是很看得懂
链接:https://www.iteye.com/blog/makemyownlife-1610021

但是按照方法修改了ISysLogDao的oracl 数据库语句
修改前
@Insert(“insertintosyslog(visitTime,username,ip,url,executionTime,method)values(#{visitTime},” +
“#{username},#{ip},#{url},#{executionTime},#{method})”)

修改后
@Insert(“insert into syslog (visitTime,username,ip,url,executionTime,method) values(#{visitTime,” +
“jdbcType=VARCHAR},#{username,jdbcType=VARCHAR},” +
“#{ip,jdbcType=VARCHAR},#{url,jdbcType=VARCHAR},#{executionTime,jdbcType=VARCHAR},#{method,jdbcType=VARCHAR})”)

然后就可以运行了。。。。。。

先记录一下,以后再回来看

相关文章:

  • 2021-10-05
  • 2021-06-01
  • 2022-12-23
  • 2022-12-23
  • 2022-02-10
  • 2021-11-20
猜你喜欢
  • 2021-11-20
  • 2021-11-20
  • 2021-11-20
  • 2022-02-28
  • 2021-11-20
  • 2021-11-20
  • 2021-10-20
相关资源
相似解决方案