使用分页和条件构造器作为参数传入,控制台报错:
Caused by: org.apache.ibatis.binding.BindingException:
Parameter 'ew' not found.
Available parameters are [queryWrapper, pageParam, param1, param2]
我的mybatis-plus版本为3.3.1
mapper中定义的方法为:
public List selectPageByCourseQueryVo(
Page pageParam,
@Param(Constants.WRAPPER)QueryWrapper queryWrapper);
xml中引用方式为:
${ew.customSqlSegment}