Commit 0f95b706 by 钟博

Merge branch 'hotfix/原始数据4.1列重复展示'

parents d3f2c206 4449d006
...@@ -143,7 +143,7 @@ public SheetExportResponse SheetExport(int sheetID) ...@@ -143,7 +143,7 @@ public SheetExportResponse SheetExport(int sheetID)
private void CommonExport(int sheetID, SheetExportResponse response) private void CommonExport(int sheetID, SheetExportResponse response)
{ {
var headList = _perforImHeaderRepository.GetEntities(t => t.SheetID == sheetID)?.OrderBy(t => t.PointCell); var headList = _perforImHeaderRepository.GetEntities(t => t.SheetID == sheetID)?.OrderBy(t => t.PointCell).ToDistinct(t=>t.CellValue);
if (headList == null) return; if (headList == null) return;
var dataList = _perforImDataRepository.GetEntities(t => t.SheetID == sheetID)?.OrderByDescending(t => t.AccountingUnit).ToList(); var dataList = _perforImDataRepository.GetEntities(t => t.SheetID == sheetID)?.OrderByDescending(t => t.AccountingUnit).ToList();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment