Commit 16c964c1 by 李承祥

bug

parent 050ee056
...@@ -56,14 +56,16 @@ public List<HospitalResponse> GetUserHopital(int userid) ...@@ -56,14 +56,16 @@ public List<HospitalResponse> GetUserHopital(int userid)
if (hosId != null && hosId.Contains(t.HosID)) if (hosId != null && hosId.Contains(t.HosID))
{ {
if (firstId != null && firstId.Count > 0) if (firstId != null && firstId.Count > 0)
t.HasConfig = firstId.Contains(t.HosID) ? 2 : 1; t.HasConfig = 2;
else else
t.HasConfig = 0; t.HasConfig = 1;
//绩效列表 //绩效列表
var allotList = _perallotRepository.GetEntities(item => item.HospitalId == t.HosID); var allotList = _perallotRepository.GetEntities(item => item.HospitalId == t.HosID);
if (allotList != null && allotList.Count > 0) if (allotList != null && allotList.Count > 0)
t.HasConfig = 3; t.HasConfig = 3;
} }
else
t.HasConfig = 0;
}); });
return list; return list;
} }
......
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