update applet_punch_clock set is_del=1 where id=#{id} delete from applet_punch_clock where id=#{id} update applet_punch_clock id = #{id}, users_id = #{users_id}, appointment_id = #{appointment_id}, biz_type = #{biz_type}, queue_number = #{queue_number}, start_time = #{start_time}::timestamp, over_time = #{over_time}::timestamp, port_area_id = #{port_area_id}, punch_address = #{punch_address}, over_address = #{over_address}, punch_clock_type = #{punch_clock_type}, punch_clock_poi = #{punch_clock_poi}, is_del = #{is_del}, update_time = current_timestamp where id = #{id}