以MySQL5.5为例: 方法1: <insert id="insert" parameterType="Person" useGeneratedKeys="true" keyProperty="id"> <insert id="insert 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交