public virtual List <ProductInventoryInfo> GetWarehouseProducts(ProcessType processType, int productSysNo, string shippedWarehouse) { //(1)业务模式2,3,5,6 直接取 reg.ShipedWarehouse (2)业务模式1 取 配置] int realStockSysNo = Convert.ToInt32(AppSettingManager.GetSetting("RMA", "StockSysNo")); if (processType == ProcessType.MET) { realStockSysNo = Convert.ToInt32(shippedWarehouse); } List <ProductInventoryInfo> result = new List <ProductInventoryInfo>(); ProductInventoryInfo item = ExternalDomainBroker.GetProductInventoryInfo(productSysNo, realStockSysNo); if (item != null) { result.Add(item); } return(result); }