通过个人试验,发现这个参数似乎没什么用,mapper中的参数列表为@Param("insurerIdList") List<String> insurerIdList, @Param("startMonth") String startDate

这个可以说是两种类型的,但是对于mybatis都一样,而且,parameterType写与不写,都可以,甚至我写成parameterType='int'也是可以执行的。

parameterTypeThe fully qualified class name or alias for the parameter that will be passed into this statement. This attribute is optional because MyBatis can calculate the TypeHandler to use out of the actual parameter passed to the statement. Default is unset.

官网上这样解释的,这个只是个别名,但是也可以不写,它自己可以对应上的,并传给sql的statement中使用。