Commit 4ef65305 by lcx

载入历史数据时报错

parent be054b6b
...@@ -412,7 +412,7 @@ private void SupplementFixedData(ag_secondallot secondAllot, List<BodyItem> body ...@@ -412,7 +412,7 @@ private void SupplementFixedData(ag_secondallot secondAllot, List<BodyItem> body
{ "工作量绩效", "工作量绩效占比" }, { "工作量绩效", "工作量绩效占比" },
}; };
if (employeeSource == (int)EmployeeSource.PrevSecondAllot) if (employeeSource == (int)EmployeeSource.PrevSecondAllot && prevSecondAllot != null)
{ {
var savedDataList = agfixatitemRepository.GetEntities(w => w.SecondId == prevSecondAllot.Id && w.RowNumber.HasValue && w.RowNumber == -1); var savedDataList = agfixatitemRepository.GetEntities(w => w.SecondId == prevSecondAllot.Id && w.RowNumber.HasValue && w.RowNumber == -1);
if (savedDataList != null && savedDataList.Any()) if (savedDataList != null && savedDataList.Any())
......
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