Where an appeal has been prayed and obtained from a judgment of a general sessions court, if the plaintiff and defendant compromise the case before the papers have been returned to the court to which the appeal was taken, and file with the general sessions court a written notice of the fact, signed by both parties, the general sessions court shall issue execution on the judgment, as if no appeal had been taken.
T.C.A. § 16-15-802