Browse Source

更新

master
学 赵 1 week ago
parent
commit
e43a4ae3b6
  1. 15
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/GenerateJisInvoiceService.cs

15
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/GenerateJisInvoiceService.cs

@ -859,6 +859,10 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
notDetialList.AddRange(innotls); notDetialList.AddRange(innotls);
} }
#region 发票明细 #region 发票明细
List<INVOICE_WAIT_DETAIL> _entityDetailList = new List<INVOICE_WAIT_DETAIL>(); List<INVOICE_WAIT_DETAIL> _entityDetailList = new List<INVOICE_WAIT_DETAIL>();
foreach (var detail in detailDtos) foreach (var detail in detailDtos)
@ -929,18 +933,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
} }
} }
} }
_log.LogDebug(JsonSerializer.Serialize(invlist)); _log.LogDebug(JsonSerializer.Serialize(invlist));
//foreach (var itm in invlist)
//{
// itm.SetId(Guid.NewGuid());
//}
_dbcontext.BulkInsert(invlist); _dbcontext.BulkInsert(invlist);
_dbcontext.BulkInsert(groupList); _dbcontext.BulkInsert(groupList);
_dbcontext.BulkInsert(detailList); _dbcontext.BulkInsert(detailList);

Loading…
Cancel
Save