select id, unit_name, unit_id, creat_time, creat_id, position, occupant, entry_time, end_time, creat_name,remark,position2 from temporary_checkin insert into temporary_checkin id, unit_name, unit_id, creat_time, creat_id, position, occupant, entry_time, end_time, creat_name, remark, position2, #{id}, #{unitName}, #{unitId}, #{creatTime}, #{creatId}, #{position}, #{occupant}, #{entryTime}, #{endTime}, #{creatName}, #{remark}, #{position2}, update temporary_checkin unit_name = #{unitName}, unit_id = #{unitId}, creat_time = #{creatTime}, creat_id = #{creatId}, position = #{position}, occupant = #{occupant}, entry_time = #{entryTime}, end_time = #{endTime}, creat_name = #{creatName}, remark = #{remark}, position2 = #{position2}, where id = #{id} delete from temporary_checkin where id = #{id} delete from temporary_checkin where id in #{id}