nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement ‘com.cxsw.ssm.mapper.OrdersMapper.todayOrdersCount’. It’s likely that neither a Result Type nor a Result Map was specified.
在这里插入图片描述原因是查询的时候缺少了入参和出参

你可能感兴趣的:(SSM编写的小错误)