Commit 74385504 by lcx

修复-横纵向模板可能导致前端多一行数据

parent 5072a65a
...@@ -258,8 +258,8 @@ public List<BodyItem> GetEmployeeFromSavedData(int userId, ag_secondallot second ...@@ -258,8 +258,8 @@ public List<BodyItem> GetEmployeeFromSavedData(int userId, ag_secondallot second
if (savedData != null) if (savedData != null)
{ {
tableFixedData.Value = savedData.ItemValue; tableFixedData.Value = savedData.ItemValue;
tableFixedData.RowNumber = rowNumber;
} }
tableFixedData.RowNumber = rowNumber;
tableFixedDataList.Add(tableFixedData); tableFixedDataList.Add(tableFixedData);
} }
} }
...@@ -370,8 +370,8 @@ public List<BodyItem> GetEmployeeFromPrevData(int userId, ag_secondallot secondA ...@@ -370,8 +370,8 @@ public List<BodyItem> GetEmployeeFromPrevData(int userId, ag_secondallot secondA
if (savedData != null) if (savedData != null)
{ {
tableFixedData.Value = savedData.ItemValue; tableFixedData.Value = savedData.ItemValue;
tableFixedData.RowNumber = rowNumber;
} }
tableFixedData.RowNumber = rowNumber;
tableFixedDataList.Add(tableFixedData); tableFixedDataList.Add(tableFixedData);
} }
......
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