/// <summary> /// 根据主键批量删除字典 /// </summary> /// <param name="dictIds"></param> /// <returns></returns> public bool DeleteDicts(List <int> dictIds) { DictManager DictManager = new DictManager(); List <dynamic> ids = new List <dynamic>(); foreach (int id in dictIds) { ids.Add(id); } return(DictManager.DeleteByIds(ids.ToArray())); }