Commit c2bcf13d by lcx

科室名称重复导致行增多

parent a1f2863b
......@@ -168,7 +168,8 @@ public static void WriteSheetData(ISheet sheet, PerSheetPoint point, SheetType s
if (sheetType == SheetType.Income)
{
incomes.Add(GetIncomeRowMessage(row, dataFirstCellNum, department, rowIndex));
if (!incomes.Any(t => t.Department == department))
incomes.Add(GetIncomeRowMessage(row, dataFirstCellNum, department, rowIndex));
continue;
}
......
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