1.
List<string> planIDList = new List<string>(); planIDList.Add(strPlanid); planIDList = planIDList.Distinct().ToList();//去重
2.