Parameter 'xxx' not found. Available parameters are [arg1, arg0, param1, param2]

 

使用SpringBoot项目使用Mybatis框架,新写了一个方法出现错误。


错误:Parameter 'lastSubmitTimestamp' not found. Available parameters are [arg1, arg0, param1, param2]

 

 

解决:方法的参数内添加@Param注解。

 

 

posted @ 2024-03-22 16:22  学Java的`Bei  阅读(177)  评论(0)    收藏  举报