/// <summary> /// 删除记录 /// </summary> /// <param name="ids"></param> public void DelModel(List <long> ids) { if (ids == null || ids.Count < 1) { return; } if (ids.Count == 1) { _dataAccess.DelModel(ids[0]); } else { _dataAccess.DelModels(ids); } }