ID, visitorPersonID, visiteePersonID, matterID, remark, lastStatus, startTime, lastTime,
visitorTypeLabel, warning
delete from t_visit
where ID = #{id,jdbcType=INTEGER}
insert into t_visit (ID, visitorPersonID, visiteePersonID,
matterID, remark, lastStatus,
startTime, lastTime, visitorTypeLabel,
warning)
values (#{id,jdbcType=INTEGER}, #{visitorpersonid,jdbcType=INTEGER}, #{visiteepersonid,jdbcType=INTEGER},
#{matterid,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR}, #{laststatus,jdbcType=INTEGER},
#{starttime,jdbcType=TIMESTAMP}, #{lasttime,jdbcType=TIMESTAMP}, #{visitortypelabel,jdbcType=VARCHAR},
#{warning,jdbcType=VARCHAR})
insert into t_visit
ID,
visitorPersonID,
visiteePersonID,
matterID,
remark,
lastStatus,
startTime,
lastTime,
visitorTypeLabel,
warning,
#{id,jdbcType=INTEGER},
#{visitorpersonid,jdbcType=INTEGER},
#{visiteepersonid,jdbcType=INTEGER},
#{matterid,jdbcType=INTEGER},
#{remark,jdbcType=VARCHAR},
#{laststatus,jdbcType=INTEGER},
#{starttime,jdbcType=TIMESTAMP},
#{lasttime,jdbcType=TIMESTAMP},
#{visitortypelabel,jdbcType=VARCHAR},
#{warning,jdbcType=VARCHAR},
update t_visit
visitorPersonID = #{visitorpersonid,jdbcType=INTEGER},
visiteePersonID = #{visiteepersonid,jdbcType=INTEGER},
matterID = #{matterid,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
lastStatus = #{laststatus,jdbcType=INTEGER},
startTime = #{starttime,jdbcType=TIMESTAMP},
lastTime = #{lasttime,jdbcType=TIMESTAMP},
visitorTypeLabel = #{visitortypelabel,jdbcType=VARCHAR},
warning = #{warning,jdbcType=VARCHAR},
where ID = #{id,jdbcType=INTEGER}
update t_visit
set visitorPersonID = #{visitorpersonid,jdbcType=INTEGER},
visiteePersonID = #{visiteepersonid,jdbcType=INTEGER},
matterID = #{matterid,jdbcType=INTEGER},
remark = #{remark,jdbcType=VARCHAR},
lastStatus = #{laststatus,jdbcType=INTEGER},
startTime = #{starttime,jdbcType=TIMESTAMP},
lastTime = #{lasttime,jdbcType=TIMESTAMP},
visitorTypeLabel = #{visitortypelabel,jdbcType=VARCHAR},
warning = #{warning,jdbcType=VARCHAR}
where ID = #{id,jdbcType=INTEGER}