
</ pre> <p> <b>根本原因</ b> </ p> <pre> org.mybatis.spring.MyBatisSystemException:嵌套的异常是org.apache.ibatis.binding.BindingException:找不到参数'categoryIdList' 。可用参数是[CategoryIdList,productName,param1,param2]
日志信息
[22:03:58.810][DEBUG][c.m.d.C.selectCategoryChildrenByParentId][http-nio-8088-exec-4] ==> Preparing: SELECT id, parent_id, name, status, sort_order, create_time, update_time FROM miao_category WHERE parent_id=? [22:03:58.810][DEBUG][c.m.d.C.selectCategoryChildrenByParentId][http-nio-8088-exec-4] ==> Parameters: 100006(Integer) [22:03:58.811][DEBUG][c.m.d.C.selectCategoryChildrenByParentId][http-nio-8088-exec-4] <== Total: 0 [22:03:58.811][DEBUG][org.mybatis.spring.SqlSessionUtils][http-nio-8088-exec-4] Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3f26f57d] [22:03:58.820][DEBUG][org.mybatis.spring.SqlSessionUtils][http-nio-8088-exec-4] Creating a new SqlSession [22:03:58.821][DEBUG][org.mybatis.spring.SqlSessionUtils][http-nio-8088-exec-4] SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@42416f45] was not registered for synchronization because synchronization is not active [22:03:58.870][DEBUG][org.mybatis.spring.SqlSessionUtils][http-nio-8088-exec-4] Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@42416f45]