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

  • 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的寫法,均可java

相關文章
相關標籤/搜索