Browse Source

更新版本

master
学 赵 2 years ago
parent
commit
1ad88ce845
  1. 7
      src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/Prices/PriceListManager.cs

7
src/Modules/SettleAccount/src/SettleAccount.Domain/Entities/Prices/PriceListManager.cs

@ -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

Loading…
Cancel
Save