報錯信息:
org.apache.ibatis.executor.ExecutorException:
A query was run and no Result Maps were found for the Mapped Statement 'dao.UserDao.findUserByInArray'.
It's likely that neither a Result Type nor a Result Map was specified.
解決方法:
查詢結果需要返回 Result Type或者Result Map,去mapper文件的查詢語句添加返回值即可