问题遇到的现象和发生背景
使用反向工程时
问题相关代码,请勿粘贴截图
<resultMap id="BaseResultMap" type="com.xxx100.entity.Student">
<id column="sid" jdbcType="INTEGER" property="sid" />
<result column="sname" jdbcType="VARCHAR" property="sname" />
<result column="sex" jdbcType="CHAR" property="sex" />
<result column="sage" jdbcType="INTEGER" property="sage" />
<result column="sdy" jdbcType="BIT" property="sdy" />
<result column="score" jdbcType="REAL" property="score" />
<result column="sphoto" jdbcType="VARCHAR" property="sphoto" />
</resultMap>
运行结果及报错内容
报错:resultMap with such name already exists