Browse Source

更新版

master
学 赵 1 year ago
parent
commit
f32aa7de49
  1. 19
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs

19
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs

@ -234,10 +234,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
EndDate = itm.EndDate, EndDate = itm.EndDate,
}; };
entity.INVOICE_WAIT_DETAIL = wdtos; entity.INVOICE_WAIT_DETAIL = wdtos;
} }
var s = await _sRepository.GetListByFilterAsync(input.Filters, input.Sorting, int.MaxValue, input.SkipCount); var s = await _sRepository.GetListByFilterAsync(input.Filters, input.Sorting, int.MaxValue, input.SkipCount);
@ -310,15 +307,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
byte[] result = null; byte[] result = null;
result = await _excel.ExportAsByteArray(dtoDetails); result = await _excel.ExportAsByteArray(dtoDetails);
//switch (input.FileType) //switch (input.FileType)
//{ //{
// case 0: // case 0:
@ -352,13 +340,6 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
ExcelExporter _excel = new ExcelExporter(); ExcelExporter _excel = new ExcelExporter();
var entities = await _repository.GetListByFilterAsync(input.Filters, input.Sorting, int.MaxValue, 0, true); var entities = await _repository.GetListByFilterAsync(input.Filters, input.Sorting, int.MaxValue, 0, true);
var dtoDetails = ObjectMapper.Map<List<INVOICE_GRP>, List<INVOICE_GRP_EXP_DTO>>(entities); var dtoDetails = ObjectMapper.Map<List<INVOICE_GRP>, List<INVOICE_GRP_EXP_DTO>>(entities);
var invdetail= await DetailQueryAsync(input); var invdetail= await DetailQueryAsync(input);
var m = invdetail.INVOICE_MAP_GROUP; var m = invdetail.INVOICE_MAP_GROUP;

Loading…
Cancel
Save