update applet_entry_instruct set is_del=1 where id=#{id} delete from applet_entry_instruct where id=#{id} update applet_entry_instruct id = #{id}, appointment_id = #{appointment_id}, users_id = #{users_id}, users_name = #{users_name}, truck_number = #{truck_number}, yard_name = #{yard_name}, create_time = #{create_time}::timestamp, is_del = #{is_del}, update_time = current_timestamp where id = #{id}