|
|
@ -348,6 +348,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
/// </summary>
|
|
|
|
/// <param name="p_billNum"></param>
|
|
|
|
/// <returns></returns>
|
|
|
|
[UnitOfWork(false)] |
|
|
|
public virtual async Task<List<INVOICE_GRP>> GetInvoiceListAsync(List<string> invs) |
|
|
|
{ |
|
|
|
return await _repository.Where(p => invs.Contains(p.InvbillNum)).ToListAsync().ConfigureAwait(false); |
|
|
@ -611,7 +612,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
partcode: itm.PartCode); |
|
|
|
entity.ErpLoc = itm.ErpLoc;//补字段库位
|
|
|
|
entity.PartCode = itm.RealPartCode;//真实零件号
|
|
|
|
|
|
|
|
entityDetail.Add(entity); |
|
|
|
} |
|
|
|
} |
|
|
@ -809,8 +809,8 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
bbacDetail.Add(entity |
|
|
|
); |
|
|
|
} |
|
|
|
await _repository.DbContext.BulkInsertAsync(bbacmainlist).ConfigureAwait(false); |
|
|
|
await _repository.DbContext.BulkInsertAsync(bbacDetail).ConfigureAwait(false); |
|
|
|
await _repository.DbContext.BulkInsertAsync(bbacmainlist); |
|
|
|
await _repository.DbContext.BulkInsertAsync(bbacDetail); |
|
|
|
|
|
|
|
foreach (var itm in invList) |
|
|
|
{ |
|
|
@ -2249,6 +2249,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
BeginDate = dto1.BeginDate, |
|
|
|
EndDate = dto1.EndDate, |
|
|
|
LineCode = dto1.LineCode, |
|
|
|
ContractDocID = dto1.ContractDocID, |
|
|
|
DeliveryNumber = inv1.GetProperty("DeliveryNumber", ""),//交货号
|
|
|
|
InvoiceNumber = inv1.GetProperty("InvoiceNumber", ""),//发票号
|
|
|
|
VendorCode = inv1.GetProperty("VendorCode", ""),//供应商代码
|
|
|
@ -2301,15 +2302,17 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Managers |
|
|
|
beginDate: detail.BeginDate, |
|
|
|
endDate: detail.EndDate, |
|
|
|
partcode: detail.PartCode); |
|
|
|
entity.LineCode = detail.LineCode; |
|
|
|
entity.SetProperty("DeliveryNumber", detail.DeliveryNumber);//交货号
|
|
|
|
entity.SetProperty("VendorCode", detail.VendorCode);//供应商代码
|
|
|
|
entity.SetProperty("VendorName", detail.VendorName);//供应商名称
|
|
|
|
entity.SetProperty("PO", detail.PO);//采购订单号
|
|
|
|
entity.SetProperty("DeliveryIndexNumber", detail.DeliveryIndexNumber);//交付索引号
|
|
|
|
entity.SetProperty("PartName", detail.PartName);//零件名称
|
|
|
|
entity.SetProperty("PartGroup", detail.PartGroup); |
|
|
|
entity.SetProperty("PN", detail.PN); |
|
|
|
entity.LineCode = detail.LineCode; |
|
|
|
|
|
|
|
entity.SetProperty("ContractDocID", detail.ContractDocID);//交货号
|
|
|
|
entity.SetProperty("DeliveryNumber", detail.DeliveryNumber);//交货号
|
|
|
|
entity.SetProperty("VendorCode", detail.VendorCode);//供应商代码
|
|
|
|
entity.SetProperty("VendorName", detail.VendorName);//供应商名称
|
|
|
|
entity.SetProperty("PO", detail.PO);//采购订单号
|
|
|
|
entity.SetProperty("DeliveryIndexNumber", detail.DeliveryIndexNumber);//交付索引号
|
|
|
|
entity.SetProperty("PartName", detail.PartName);//零件名称
|
|
|
|
entity.SetProperty("PartGroup", detail.PartGroup); |
|
|
|
entity.SetProperty("PN", detail.PN); |
|
|
|
_entityDetailList.Add(entity); |
|
|
|
} |
|
|
|
if (_entityDetailList.Count > 0) |
|
|
|