2-(3-Fluorophenyl)thiazole-4-carbaldehyde is used as a reactant in the preparation of halophenyl thiazole carboxylic acid amides compounds containing tert-Bu amidine structure as non-glucoside SGLT2/SGLT1 double target inhibitors for treating type II diabetes.