|
|
@@ -779,7 +779,7 @@ namespace Business.SaleForecastManagement
|
|
|
//获取国科当前规格型号库存
|
|
|
sumQty = pInventories.Where(p => p.SpecificationModel == item && p.Code == "GK0001").Sum(p => p.InventoryQuantity);
|
|
|
//获取N+1月的库存监控设置
|
|
|
- var curMonitor = monitorSettings.FirstOrDefault(p => p.Platform == "GK0001" && p.ProdType == curFcsts[0].ProdType);
|
|
|
+ var curMonitor = monitorSettings.FirstOrDefault(p => p.Platform == "国科" && p.ProdType == curFcsts[0].ProdType);
|
|
|
if (curMonitor == null)
|
|
|
{
|
|
|
new NLogHelper("MonthlyCapacityLoadAppService").WriteLog("DemandAnalysis", "国科未维护产品类型为【" + curFcsts[0].ProdType + "】的库存监控月份", _currentTenant.Id.ToString());
|
|
|
@@ -834,11 +834,6 @@ namespace Business.SaleForecastManagement
|
|
|
p.create_by_name = input.create_by_name;
|
|
|
p.create_time = DateTime.Now;
|
|
|
});
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
return planorders;
|
|
|
}
|
|
|
|