|
|
@ -160,6 +160,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
var _fislist = _lst.GroupBy(p => new { p.SapMaterialCode, p.MaterialDesc, p.MaterialGroup, p.MaterialCode }) |
|
|
|
.Select(p => new UnSettledSum |
|
|
|
{ |
|
|
|
库位 = "PLJS", |
|
|
|
版本 = version, |
|
|
|
物料号 = p.Key.SapMaterialCode, |
|
|
|
客户物料 = p.Key.MaterialCode, |
|
|
@ -237,6 +238,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
var kanbanList = _ls.GroupBy(p => new { p.SapCode, p.MaterialDesc, p.MaterialGroup, p.CustomerPartCode }) |
|
|
|
.Select(p => new UnSettledSum |
|
|
|
{ |
|
|
|
库位 = "PLJS", |
|
|
|
版本 = version, |
|
|
|
物料号 = p.Key.SapCode, |
|
|
|
客户物料 = p.Key.CustomerPartCode, |
|
|
@ -287,6 +289,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
var kanbanList = _ls.GroupBy(p => new { p.Sap编码, p.零件中文名称, p.物料组, p.客户物料号 }) |
|
|
|
.Select(p => new UnSettledSum |
|
|
|
{ |
|
|
|
库位="PLJS", |
|
|
|
版本=version, |
|
|
|
物料号 = p.Key.Sap编码, |
|
|
|
客户物料 = p.Key.客户物料号, |
|
|
@ -325,6 +328,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
var kanbanList = _ls.GroupBy(p => new { p.SAP编码, p.物料描述, p.物料代码 }) |
|
|
|
.Select(p => new UnSettledSum |
|
|
|
{ |
|
|
|
库位 = "BJJS", |
|
|
|
版本 = version, |
|
|
|
物料号 = p.Key.SAP编码, |
|
|
|
客户物料 = p.Key.物料代码, |
|
|
@ -353,9 +357,9 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
|
|
|
|
|
|
|
|
var _lst = _wmsDapper.GetSalesStockSum(version); |
|
|
|
var query = from itm in _lst |
|
|
|
var query = from itm in _lst |
|
|
|
join itm1 in _ls |
|
|
|
on new { Version = itm.Version, PartCode = itm.PartCode } equals new { Version = itm1.版本, PartCode = itm1.物料号 } |
|
|
|
on new { Version = itm.Version, PartCode = itm.PartCode, LocCode= itm.LocCode.ToUpper()} equals new { Version = itm1.版本, PartCode = itm1.物料号, LocCode = itm1.库位} |
|
|
|
into temp |
|
|
|
from tm in temp.DefaultIfEmpty() |
|
|
|
select new UnSettledSum |
|
|
|