/// <summary> /// 获取货位详情 /// </summary> /// <param name="id"></param> /// <returns></returns> public DepotSeat GetDepotByID(string depotid) { var dal = new WarehouseDAL(); DataTable dt = dal.GetDepotByID(depotid); DepotSeat model = new DepotSeat(); if (dt.Rows.Count > 0) { model.FillData(dt.Rows[0]); } return(model); }