Browse Source

更新版本

FoShanPG
Administrator 3 years ago
parent
commit
7dc9ff14f3
  1. 5
      src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/UnSettledSumService.cs

5
src/Modules/SettleAccount/src/SettleAccount.Job/Services/Report/UnSettledSumService.cs

@ -56,9 +56,10 @@ namespace SettleAccount.Job.Services.Report
UnSettledDetailDapperRepository dapper, UnSettledDetailDapperRepository dapper,
OutputService outputService, OutputService outputService,
ErpPartDapperRepository erpDapper, ErpPartDapperRepository erpDapper,
WmsDapperRepository _wmsDapper WmsDapperRepository wmsDapper
) )
{ {
_wmsDapper = wmsDapper;
_hqkanbanDapper = hqkanbanDapper; _hqkanbanDapper = hqkanbanDapper;
_kanbanDapper = kanbanDapper; _kanbanDapper = kanbanDapper;
_dapper = dapper; _dapper = dapper;
@ -292,7 +293,7 @@ namespace SettleAccount.Job.Services.Report
_ls.AddRange(GetKanbanSum(id, exportName, p_list)); _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 } 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() into temp from tm in temp.DefaultIfEmpty()
select new UnSettledSum { select new UnSettledSum {

Loading…
Cancel
Save