public IActionResult DeleteAll(List <long> ids) { var list = _warehouseS.GetList(c => ids.Contains(c.WarehouseId)); bool b = _warehouseS.Delete(list); return(Json(AjaxResult(b))); }
/// <summary> /// 获得数据列表 /// </summary> public DataSet GetList(string strWhere) { return(dal.GetList(strWhere)); }