Here a few other examples of aircraft that have received extensive repairs to return them to service. Only coincidence that these two aircraft belong to the same airline:
I believe these were repaired so that Qantas maintains its position at the top of the highly dubious “world’s safest airlines” list which scores negatively for write-offs.