问题:
org.apache.ibatis.builder.BuilderException: Error parsing Mapper XML. Cause: java.lang.IllegalArgumentException: Mapped Statements collection already contains value for com.yanzhen.dao.UserInfoDao.
UserInfoDao.xml的内容如下
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yanzhen.dao.UserInfoDao">
<!--查询全部用户信息-->
<select id="queryUserInfoAll" resultType="com.yanzhen.po.UserInfo">
select * from user_info
<where>
<if test="username!=null">
and username like '%${username}%'
</if>
</where>
</select>
<!--用户的添加-->
<insert parameterType="UserInfo" id="">