Mybatis想根据多个名称搜索 in语法

场景:Mybatis想根据多个名称搜索 in语法
Impl:

 @Override
    public PageInfo productionList(ProductionSearch productionSearch) {
        PageHelper.startPage(productionSearch.getPageNumber(), productionSearch.getPageSize());

        //把多个分组名称按逗号分割
        String[] split = productionSearch.getGroupName().split(",");

        List productionPlans = productionPlanMapper.productionListDx(productionSearch,split);
        PageInfo pageInfo = new PageInfo<>(productionPlans);
        return pageInfo;
    }

mapper:


/**
     * 多选搜索列表
     * @param productionSearch 搜索条件
     * @param split 多选条件
     * @return 结果
     */
    List productionListDx
    (@Param("productionSearch") ProductionSearch productionSearch, @Param("split") String[] split);

xml:

img


报错:

2022-09-23 10:41:30.043  [ERROR]-- [http-nio-9070-exec-2] [ at org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:175)] Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'search' not found. Available parameters are [split, productionSearch, param1, param2]] with root cause
org.apache.ibatis.binding.BindingException: Parameter 'search' not found. Available parameters are [split, productionSearch, param1, param2]

不是报错没有search么

img