[mybatis]It's likely that neither a Result Type nor a Result Map was specified

為{幸葍}努か 提交于 2019-11-26 14:52:27
  • Caused by: org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'com.asiainfo.path.mapper.RoadPriceMapper.selectMinMilesByEnStationId'. It's likely that neither a Result Type nor a Result Map was specified.
  • 解决
  • 必须要有resultType
  • https://blog.csdn.net/you23hai45/article/details/77982358
parameterType="java.lang.String"
parameterType="String"
parameterType="string"
resultType="string"

String的写法,都可

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!