|
|
@ -56,9 +56,10 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
UnSettledDetailDapperRepository dapper, |
|
|
|
OutputService outputService, |
|
|
|
ErpPartDapperRepository erpDapper, |
|
|
|
WmsDapperRepository _wmsDapper |
|
|
|
WmsDapperRepository wmsDapper |
|
|
|
) |
|
|
|
{ |
|
|
|
_wmsDapper = wmsDapper; |
|
|
|
_hqkanbanDapper = hqkanbanDapper; |
|
|
|
_kanbanDapper = kanbanDapper; |
|
|
|
_dapper = dapper; |
|
|
@ -292,7 +293,7 @@ namespace SettleAccount.Job.Services.Report |
|
|
|
_ls.AddRange(GetKanbanSum(id, exportName, p_list)); |
|
|
|
|
|
|
|
|
|
|
|
var _lst = _wmsDapper.GetSalesStockSum("pljs"); |
|
|
|
var _lst = _wmsDapper.GetSalesStockSum("PLJS"); |
|
|
|
var query = from itm in _ls join itm1 in _lst on new { Version = itm.版本, PartCode = itm.物料号 } equals new { Version = itm1.Version, PartCode = itm1.PartCode } |
|
|
|
into temp from tm in temp.DefaultIfEmpty() |
|
|
|
select new UnSettledSum { |
|
|
|