em_id, em_code, em_name, em_password, em_class, em_mobile, em_email, companyId, updaterId, updateTime, em_text1, em_text2, em_text3, em_text4, em_text5 delete from employee where em_id = #{em_id,jdbcType=INTEGER} SELECT LAST_INSERT_ID() AS ID insert into employee em_code, em_name, em_password, em_class, em_mobile, em_email, companyId, updaterId, updateTime, em_text1, em_text2, em_text3, em_text4, em_text5, creatorId, createTime, creatorName, #{em_code,jdbcType=VARCHAR}, #{em_name,jdbcType=VARCHAR}, #{em_password,jdbcType=VARCHAR}, #{em_class,jdbcType=VARCHAR}, #{em_mobile,jdbcType=VARCHAR}, #{em_email,jdbcType=VARCHAR}, #{companyId,jdbcType=INTEGER}, #{updaterId,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP}, #{em_text1,jdbcType=VARCHAR}, #{em_text2,jdbcType=VARCHAR}, #{em_text3,jdbcType=VARCHAR}, #{em_text4,jdbcType=VARCHAR}, #{em_text5,jdbcType=VARCHAR}, #{creatorId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{creatorName,jdbcType=VARCHAR}, update employee em_code = #{em_code,jdbcType=VARCHAR}, em_name = #{em_name,jdbcType=VARCHAR}, em_password = #{em_password,jdbcType=VARCHAR}, em_class = #{em_class,jdbcType=VARCHAR}, em_mobile = #{em_mobile,jdbcType=VARCHAR}, em_email = #{em_email,jdbcType=VARCHAR}, companyId = #{companyId,jdbcType=INTEGER}, updaterId = #{updaterId,jdbcType=INTEGER}, updateTime = #{updateTime,jdbcType=TIMESTAMP}, em_text1 = #{em_text1,jdbcType=VARCHAR}, em_text2 = #{em_text2,jdbcType=VARCHAR}, em_text3 = #{em_text3,jdbcType=VARCHAR}, em_text4 = #{em_text4,jdbcType=VARCHAR}, em_text5 = #{em_text5,jdbcType=VARCHAR}, where em_id = #{id,jdbcType=INTEGER}