1,异常信息
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException:
### Error updating database. Cause: java.lang.IllegalArgumentExceptionfindByIds is ambiguous in Mapped Statements collection (try using the full name including the namespace, or rename one of the entries)
2,解决方法,id冲突,调用处用mapper namespace+sql名称:"全名 getSqlSession().selectList("com.xx.yy.findByIds")而不是etSqlSession().selectList("findByIds")
<select id="findByIds"。。。。。。