UPDATE lz_staff update_time = now(), name = #{name,jdbcType=VARCHAR}, gender = #{gender,jdbcType=INTEGER}, birthday = #{birthday,jdbcType=VARCHAR}, marital_status = #{maritalStatus,jdbcType=INTEGER}, national = #{national,jdbcType=VARCHAR}, political_landscape = #{politicalLandscape,jdbcType=VARCHAR}, mobile = #{mobile,jdbcType=VARCHAR}, province = #{province,jdbcType=VARCHAR}, emergency_contact = #{emergencyContact,jdbcType=VARCHAR}, emergency_contact_relation = #{emergencyContactRelation,jdbcType=VARCHAR}, emergency_contact_phone = #{emergencyContactPhone,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, current_address = #{currentAddress,jdbcType=VARCHAR}, employee_id = #{employeeId,jdbcType=VARCHAR}, union_id = #{unionId,jdbcType=VARCHAR}, WHERE is_delete = 0 AND open_id = #{openId ,jdbcType=BIGINT} INSERT INTO lz_staff(name,gender,mobile,email,open_id,employee_id,union_id) VALUES (#{staff.name},#{staff.gender},#{staff.mobile},#{staff.email},#{staff.openId},#{staff.employeeId},#{staff.unionId})