Commit d10419c7 by wyc

科室绩效详情设置--加载 (补充)

parent 4e47eda2
......@@ -556,7 +556,7 @@ public List<UniteDeptDetailItem> GetUniteDeptDetailSetting(int allotId)
detail.Display = temp1.Display;
foreach (var item in detail.Children)
{
var temp2 = cofDeptDetail.FirstOrDefault(w => w.Title == item.Title);
var temp2 = temp1.Children.FirstOrDefault(w => w.Title == item.Title);
if (temp2 != null)
{
item.Remark = temp2.Remark;
......@@ -574,7 +574,6 @@ public List<UniteDeptDetailItem> GetUniteDeptDetailSetting(int allotId)
}
response = response.OrderBy(w => w.Sort).ToList();
return response;
}
public void SaveUniteDeptDetailSetting(int allotId, List<UniteDeptDetailItem> request)
......
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