|
@ -43,13 +43,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs |
|
|
var list = billList.Split(","); |
|
|
var list = billList.Split(","); |
|
|
|
|
|
|
|
|
var projectList = _dbcontext.Set<CodeSetting>().Where(p => p.Project == "库位").ToList(); |
|
|
var projectList = _dbcontext.Set<CodeSetting>().Where(p => p.Project == "库位").ToList(); |
|
|
|
|
|
|
|
|
var jisbbac= projectList.FirstOrDefault(p => p.Value == "JisBBAC").Description; |
|
|
var jisbbac= projectList.FirstOrDefault(p => p.Value == "JisBBAC").Description; |
|
|
var jisbbac_sy= projectList.FirstOrDefault(p => p.Value == "JisBBAC顺义").Description; |
|
|
var jisbbac_sy= projectList.FirstOrDefault(p => p.Value == "JisBBAC顺义").Description; |
|
|
var yindujian= projectList.FirstOrDefault(p => p.Value == "YinDuJian").Description; |
|
|
var yindujian= projectList.FirstOrDefault(p => p.Value == "YinDuJian").Description; |
|
|
var beijian= projectList.FirstOrDefault(p => p.Value == "BeiJian").Description; |
|
|
var beijian= projectList.FirstOrDefault(p => p.Value == "BeiJian").Description; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (type == "JisBBAC" || type == "ZhiGongJianBBAC" || type == "MaiDanJianBBAC" || type == "BeiJian" || type== "YinDuJian") |
|
|
if (type == "JisBBAC" || type == "ZhiGongJianBBAC" || type == "MaiDanJianBBAC" || type == "BeiJian" || type== "YinDuJian") |
|
|
{ |
|
|
{ |
|
|
var jisdetail = _dbcontext.Set<BBAC_PD_DETAIL>().Where(p => list.Contains(p.BillNum) && p.BusinessType == EnumBusinessType.JisBBAC);//jis
|
|
|
var jisdetail = _dbcontext.Set<BBAC_PD_DETAIL>().Where(p => list.Contains(p.BillNum) && p.BusinessType == EnumBusinessType.JisBBAC);//jis
|
|
@ -62,13 +59,11 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs |
|
|
itm.Extend2 =jisbbac; |
|
|
itm.Extend2 =jisbbac; |
|
|
itm.Extend3 = "有结算无发运"; |
|
|
itm.Extend3 = "有结算无发运"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (itm.Site == "1046" && string.IsNullOrEmpty(itm.Extend2)) |
|
|
if (itm.Site == "1046" && string.IsNullOrEmpty(itm.Extend2)) |
|
|
{ |
|
|
{ |
|
|
itm.Extend2 =jisbbac_sy; |
|
|
itm.Extend2 =jisbbac_sy; |
|
|
itm.Extend3 = "有结算无发运"; |
|
|
itm.Extend3 = "有结算无发运"; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
Sync(jisdetail.ToList(), EnumDeliverBjBmpBillType.JIS件, email, isout == "out" ? true : false); |
|
|
Sync(jisdetail.ToList(), EnumDeliverBjBmpBillType.JIS件, email, isout == "out" ? true : false); |
|
|
} |
|
|
} |
|
|