1、使用自增主键策略获取新增后的ID值 <insert id="addEmp" parameterType="com.mi.pojo.Employee" useGeneratedKeys="true" keyProperty&