//获得在库数 public decimal GetStock(string warehouse, string product) { return(dal.GetStock(warehouse, product)); }