改这一句
cmd.CommandText = "SELECT DISTINCT 完成质检, Year(日期) As 年, Month(日期) As 月, Day(日期) As 日 From {质检管理}"