|
@ -76,7 +76,7 @@ public class PendingDeductionService : ApplicationService, ITransientDependency, |
|
|
} |
|
|
} |
|
|
Sync(jisdetail.ToList(), EnumDeliverBjBmpBillType.JIS件, isout == "out" ? true : false); |
|
|
Sync(jisdetail.ToList(), EnumDeliverBjBmpBillType.JIS件, isout == "out" ? true : false); |
|
|
} |
|
|
} |
|
|
//买电脑
|
|
|
//
|
|
|
var mdetail = _dbcontext.Set<BBAC_PD_DETAIL>().Where(p => list.Contains(p.BillNum) && p.BusinessType == EnumBusinessType.MaiDanJianBBAC);//买单件
|
|
|
var mdetail = _dbcontext.Set<BBAC_PD_DETAIL>().Where(p => list.Contains(p.BillNum) && p.BusinessType == EnumBusinessType.MaiDanJianBBAC);//买单件
|
|
|
if (mdetail !=null&&mdetail.Count() > 0) |
|
|
if (mdetail !=null&&mdetail.Count() > 0) |
|
|
{ |
|
|
{ |
|
@ -98,7 +98,7 @@ public class PendingDeductionService : ApplicationService, ITransientDependency, |
|
|
|
|
|
|
|
|
if (detailist1.Count > 0) |
|
|
if (detailist1.Count > 0) |
|
|
{ |
|
|
{ |
|
|
var zgbbaclist = detailist1.Where(p => p.BusinessType == EnumBusinessType.ZhiGongJianHBPO).ToList(); |
|
|
var zgbbaclist = detailist1.Where(p => p.BusinessType == EnumBusinessType.ZhiGongJianBBAC).ToList(); |
|
|
foreach (var itm in zgbbaclist) |
|
|
foreach (var itm in zgbbaclist) |
|
|
{ |
|
|
{ |
|
|
if (itm.Site == "1040" && string.IsNullOrEmpty(itm.Extend2)) |
|
|
if (itm.Site == "1040" && string.IsNullOrEmpty(itm.Extend2)) |
|
@ -118,7 +118,7 @@ public class PendingDeductionService : ApplicationService, ITransientDependency, |
|
|
{ |
|
|
{ |
|
|
if (string.IsNullOrEmpty(itm.Extend2)) |
|
|
if (string.IsNullOrEmpty(itm.Extend2)) |
|
|
{ |
|
|
{ |
|
|
itm.Extend2 = projectList.FirstOrDefault(p => p.Value == "JisBBAC").Description; |
|
|
itm.Extend2 = projectList.FirstOrDefault(p => p.Value == "YinDuJian").Description; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
Sync(ydlist, EnumDeliverBjBmpBillType.印度件, isout == "out" ? true : false); |
|
|
Sync(ydlist, EnumDeliverBjBmpBillType.印度件, isout == "out" ? true : false); |
|
|