A total of 10 506 COVID-19 cases were included in the study with the age of (43.3±13.7) years. The duration of positive nucleic acid or antigen tests was longer than 7 days in 59.4%(276/465), 51.5%(67/130), 50.6%(355/701), 46.1% (3 464/7 520) and 39.2%(662/1 690) of non-vaccination, and 1, 2, 3, 4 dosevaccination groups, respectively ( P<0.001). Multivariate logistic regressionanalysis showed that compared with non-vaccinationpatients, the vaccinationdose was an independent protective factor for duration of positive nucleic acid or antigen tests>7 days, and the OR values were 0.7 (95% CI 0.5-0.9, P=0.015), 0.6 (95% CI 0.5-0.8, P<0.001) and 0.5 (95% CI 0.4-0.6, P<0.001) for 2, 3 and 4 doses of vaccination, respectively.