public BaseResultDto <string> DeleteDicAll(RQIdModel <int> model) { BaseResultDto <string> result = new BaseResultDto <string>(); try { if (model.IdList.Count > 0 && helper.Delete <SystemDictionary>(string.Format(" Id in({0}) ", string.Join(",", model.IdList.ToArray())))) { result.ErrorMsg = "成功"; result.ErrorCode = 1; } else { result.ErrorMsg = "失败"; result.ErrorCode = 0; } } catch (Exception ex) { result.ErrorMsg = ex.Message; result.ErrorCode = -1; } return(result); }