NOVELTY - A high temperature solid phase Avanafil is prepared by putting Merrifield resin and thiourea in presence of solvent into reactor to obtain cefathiamidine resin, reacting cefathiamidine resin and diethyl ethoxymethylenemalonate in presence of solvent and alkali to obtain 4-hydroxy-5-pyrimidinecarboxylate-containing compound, reacting 4-hydroxy-5-pyrimidinecarboxylate-containing compound and halogenating agent to obtain 4-chloro-5-pyrimidinecarboxylate-containing compound, and performing nucleophilic substitution reaction in 4-chloro-5-pyrimidinecarboxylate-containing compound.    USE - Preparation of high temperature solid phase atorvastatin for synthetic drug.    ADVANTAGE - Preparation process is easy to operate, simple, easy to implement purification, and environment-friendly, and has mild reaction condition.    DETAILED DESCRIPTION - A high temperature solid phase atorvastatin of formula (IX) is prepared by putting Merrifield resin of formula (I) and thiourea in presence of solvent into reactor to obtain cefathiamidine resin of formula (II), reacting cefathiamidine resin (II) and diethyl ethoxymethylenemalonate in presence of solvent and alkali to obtain 4-hydroxy-5-pyrimidinecarboxylate-containing compound of formula (III), reacting 4-hydroxy-5-pyrimidinecarboxylate-containing compound (III) and halogenating agent to obtain 4-chloro-5-pyrimidinecarboxylate-containing compound of formula (IV), performing nucleophilic substitution reaction in 4-chloro-5-pyrimidinecarboxylate-containing compound (IV) and 3-chloro-4-methoxybenzylamine hydrochloride to obtain methylamino-5-pyrimidinecarboxylate-containing compound of formula (V), hydrolyzing methylamino-5-pyrimidinecarboxylate-containing compound (V) under alkaline condition, acidifying to obtain pyrimidinecarboxylic acid-containing compound of formula (VI), reacting pyrimidinecarboxylic acid-containing compound (VI) and 2-methylpyridine in presence of condensation reagent and compound B to obtain 2-benzylthioformaldehyde-containing compound of formula (VII), performing oxidation-reduction reaction in 2-benzylthioformaldehyde-containing compound (VII) and oxidizing agent to obtain 2-benzylsulfonylformaldehyde-containing compound of formula (VIII), and reacting 2-benzylsulfonylformaldehyde-containing compound (VIII) and L-prolinol.