Browse Source

更新版本

master
zhaoxinyu 5 months ago
parent
commit
0b71319bbe
  1. BIN
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot.rar
  2. 38
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/Syncs/GenerateJisInvoiceService.cs

BIN
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot.rar

Binary file not shown.

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

@ -1193,25 +1193,25 @@ namespace Win.Sfs.SettleAccount.Entities.BQ.Syncs
} }
return _invls; return _invls;
} }
public List<string> FirstInvoiceExtend1<TDetail>(List<TDetail> p_list, List<PUB_ADJ_DETAIL> p_adjlist, List<TEMP_CAN_SA_DETAIL> dtos, List<TEMP_NOT_SA_DETAIL> p_notlist, int p_version, string p_InvGroupNum, string p_parentInvBillNum, EnumBusinessType businessType) // public List<string> FirstInvoiceExtend1<TDetail>(List<TDetail> p_list, List<PUB_ADJ_DETAIL> p_adjlist, List<TEMP_CAN_SA_DETAIL> dtos, List<TEMP_NOT_SA_DETAIL> p_notlist, int p_version, string p_InvGroupNum, string p_parentInvBillNum, EnumBusinessType businessType)
where TDetail : SA_CAN_BASE, new() //where TDetail : SA_CAN_BASE, new()
{ // {
var gener = new InvoiceGenerator(); // var gener = new InvoiceGenerator();
gener.GenerateInvoices(p_list); // gener.GenerateInvoices(p_list);
var invList = gener.Invoices; // var invList = gener.Invoices;
if (invList.Count > 0) // if (invList.Count > 0)
{ // {
foreach (var inv in invList) // foreach (var inv in invList)
{ // {
var partlist = inv.Parts; // var partlist = inv.Parts;
if (partlist.Count > 0) // if (partlist.Count > 0)
{ // {
partlist.GroupBy(p => new { p.InvGroupNum, p.PartCode, p.Price, p.BeginDate, p.EndDate, p.ContractDocID, p.LU }) // partlist.GroupBy(p => new { p.InvGroupNum, p.PartCode, p.Price, p.BeginDate, p.EndDate, p.ContractDocID, p.LU })
} // }
} // }
} // }
return new List<string>(); // return new List<string>();
} // }

Loading…
Cancel
Save