Error querying database. Cause: org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement ‘zar.getById’. It’s likely that neither a Result Type nor a Result Map was specified.
这就是你mapper中的resultType和parameterType类型不对,去查找修改一下。
评论列表(0条)