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