|
@ -78,6 +78,9 @@ namespace Win.Sfs.SettleAccount.Entities.Prices |
|
|
|
|
|
|
|
|
var pricelist = GetPriceList(version); |
|
|
var pricelist = GetPriceList(version); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//var LeftJoin = from emp in ListOfEmployees
|
|
|
//var LeftJoin = from emp in ListOfEmployees
|
|
|
// join dept in ListOfDepartment
|
|
|
// join dept in ListOfDepartment
|
|
|
// on emp.DeptID equals dept.ID into JoinedEmpDept
|
|
|
// on emp.DeptID equals dept.ID into JoinedEmpDept
|
|
@ -98,8 +101,8 @@ namespace Win.Sfs.SettleAccount.Entities.Prices |
|
|
{ |
|
|
{ |
|
|
var add = from itm1 in entities |
|
|
var add = from itm1 in entities |
|
|
join itm2 in pricelist |
|
|
join itm2 in pricelist |
|
|
on new { itm1.Type, itm1.MaterialCode } |
|
|
on new { itm1.Type, itm1.MaterialCode,itm1.CustomerCode } |
|
|
equals new { itm2.Type, itm2.MaterialCode } |
|
|
equals new { itm2.Type, itm2.MaterialCode,itm2.CustomerCode } |
|
|
into temp |
|
|
into temp |
|
|
from itm3 in temp.DefaultIfEmpty() |
|
|
from itm3 in temp.DefaultIfEmpty() |
|
|
where itm3 == null |
|
|
where itm3 == null |
|
|