The purpose of this study is to elucidate the correlation between thyroid hormone, glycosylated hemoglobin (HbA1c), vitamin D and type 2 diabetes mellitus (T2DM) with Hashimoto’s thyroiditis (HT), and to seek the independent predictors affecting disease development. The gene discussed is TG; the disease is diabetes mellitus.