To prevent VTE , patients in group A received aspirin combined with mechanical measures postoperatively , while patients in group B received low-molecular-weight heparin ( LMWH ) sodium and rivaroxaban sequentially in combination with mechanical measures postoperatively .