A query was run and no Result Maps were found for the Mapped Statement
Cause: org.apache.ibatis.executor.ExecutorException: A query was run and no Result Maps were found for the Mapped Statement 'com.shadow.foretaste.UserInfoDao.getPhoneNum'. It's likely that neither a Result Type nor a Result Map was specified.
The reasons for this error are:
The return type is not specified in mapper.xml
Select phone_num from user_info where id = # {id}
After modification:
Select phone_num from user_info where id = # {id}