MyBatis报错纠错系列1

1、报错原因


Parameter 'stationIds' not found. Available parameters are...忘了-.-


image

2、解决办法

在Mapper传参时在参数前面加上@param
原代码变为
image

posted @ 2022-07-15 14:20  麻烦事の技术录  阅读(38)  评论(0)    收藏  举报