Commit 83434a8d by 李承祥

考核绩效-科室查询

parent c6da600d
...@@ -327,7 +327,8 @@ public List<TitleValue> Department(int allotId) ...@@ -327,7 +327,8 @@ public List<TitleValue> Department(int allotId)
if (department != null && department.Count > 0) if (department != null && department.Count > 0)
{ {
var departmentList = department.Select(t => t.Department).Distinct(); var departmentList = department.Select(t => t.Department).Distinct();
departmentList = departmentList.Except(_checked).ToList(); if (_checked != null)
departmentList = departmentList.Except(_checked).ToList();
return departmentList.Select(t => new TitleValue { Title = t, Value = t }).OrderBy(t => t.Title).ToList(); return departmentList.Select(t => new TitleValue { Title = t, Value = t }).OrderBy(t => t.Title).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