UPDATE customer_function SET del_flag = '1' WHERE del_flag = '0' AND customer_id = #{customerId}