id, uniq_id, instance_id, user_id, port, vnc_port, template_name, auto_release_time, forward_table_id, forward_entry_id, vnc_forward_entry_id, status
update windows_info set status = -1
where uniq_id = #{uniqId,jdbcType=VARCHAR}
insert into windows_info
id,
uniq_id,
instance_id,
user_id,
port,
vnc_port,
template_name,
auto_release_time,
forward_table_id,
forward_entry_id,
vnc_forward_entry_id,
create_time,
update_time,
#{id,jdbcType=BIGINT},
#{uniqId,jdbcType=VARCHAR},
#{instanceId,jdbcType=VARCHAR},
#{userID,jdbcType=VARCHAR},
#{port,jdbcType=VARCHAR},
#{vncPort,jdbcType=VARCHAR},
#{templateName,jdbcType=VARCHAR},
#{autoReleaseTime,jdbcType=TIMESTAMP},
#{forwardTableId,jdbcType=VARCHAR},
#{forwardEntryId,jdbcType=VARCHAR},
#{vncForwardEntryId,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},
update windows_info
instance_id = #{instanceId,jdbcType=VARCHAR},
user_id = #{userID,jdbcType=VARCHAR},
port = #{port,jdbcType=INTEGER},
vnc_port = #{vncPort,jdbcType=INTEGER},
template_name = #{templateName,jdbcType=VARCHAR},
auto_release_time = #{autoReleaseTime,jdbcType=TIMESTAMP},
forward_table_id = #{forwardTableId,jdbcType=VARCHAR},
forward_entry_id = #{forwardEntryId,jdbcType=VARCHAR},
vnc_forward_entry_id = #{vncForwardEntryId,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where uniq_id = #{uniqId,jdbcType=VARCHAR}