UPDATE usermapper
SET site = #{site,jdbcType=VARCHAR},
username = #{username,jdbcType=VARCHAR},
password = #{password,jdbcType=VARCHAR},
display = #{display,jdbcType=VARCHAR},
work_shop = #{workShop,jdbcType=VARCHAR},
department = #{department,jdbcType=VARCHAR},
created_by = #{createdBy,jdbcType=VARCHAR},
created_date = #{createdDate,jdbcType=TIMESTAMP},
updated_by = #{updatedBy,jdbcType=VARCHAR},
updated_date = #{updatedDate,jdbcType=TIMESTAMP},
status = #{status,jdbcType=CHAR}
mailbox= #{mailbox,jdbcType=VARCHAR}
WHERE id = #{id,jdbcType=INTEGER}
INSERT INTO usermapper (site, username, password, display, work_shop, shift_class, business_category, department,
created_by, created_date, status,mailbox)
VALUES (#{site,jdbcType=VARCHAR}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{display,jdbcType=VARCHAR},
#{workShop,jdbcType=VARCHAR}, #{shiftClass,jdbcType=VARCHAR}, #{businessCategory,jdbcType=VARCHAR}, #{department,jdbcType=VARCHAR},
#{createdBy,jdbcType=VARCHAR}, #{createdDate,jdbcType=TIMESTAMP}, #{status,jdbcType=CHAR},#{mailbox,jdbcType=VARCHAR})
UPDATE usermapper SET updated_by = #{updatedBy,jdbcType=VARCHAR}, updated_date = #{updatedDate,jdbcType=TIMESTAMP},
status = #{status,jdbcType=VARCHAR} WHERE id = #{id,jdbcType=INTEGER}
UPDATE usermapper
SET site = #{site,jdbcType=VARCHAR}
, password = #{password,jdbcType=VARCHAR}
, display = #{display,jdbcType=VARCHAR}
WHERE id = #{id,jdbcType=INTEGER}
update usermapper set site=#{site}, username = #{username}, display = #{display}, mailbox= #{mailbox},updated_by=#{updatedBy},updated_date=#{updatedDate} where id=#{id}
update usermapper set password=#{password} where id=#{id}
update usermapper set password=#{newPassword} where id=#{id}