delete the time_cost product_cost and total_cost in db