Firstly, 90mL of methanol and compound L1 were put into a 250mL three-necked bottle.
10g into a 250mL three-necked bottle, slowly add 15% hydrochloric acid solution dropwise, the reaction at 35 for 2h, TLC to monitor the raw material reaction is complete, add saturated NaHCO solution to adjust the pH value of the reaction system to 7; pumping filtration, and 25mL 2 distilled water to wash the filter cake, at 60 blast drying; atorvastatin tert-butyl ester crude product obtained and 30mL The crude atorvastatin tert-butyl ester and 30 mL of tetrahydrofuran were added to a 50 mL single-necked flask and refluxed for 30 min, crystals were frozen and precipitated, extracted and filtered, washed with 5 mL of frozen tetrahydrofuran, and dried at 60 under a blast wind, and the product was weighed as 9.33 g, with a yield of 93.3% and a purity of 99.9%.