The invention discloses a novel heptacyclic compound (2'S,5'S)-tetrahydropyrazine [1',2':1,6] and bis{2,3,4,9-tetrahydro-1H-pyridine [3,4-b] indole}-1',4'-diketone (THPDTPI for short), a preparation method thereof, and antithrombosis action, anti-inflammatory action, anti-tumor action, free radical scavenging action and P-selectin expression inhibition action thereof. Therefore, the invention discloses application of the THPDTPI in preparing a medicament which takes the P-selectin as a target and simultaneously inhibits thrombosis, inflammation and tumor. Because thrombosis and inflammation are the most popular complications in patients with tumor, the THPDTPI not only can treat tumor, but also can prevent patients with tumor from complicating thrombosis and inflammation. The THPDTPI disclosed by the invention has favorable clinical application prospects.