Commit c0c75e60 by 李承祥

登录,获取医院列表

parent aadf6e06
...@@ -55,7 +55,10 @@ public List<HospitalResponse> GetUserHopital(int userid) ...@@ -55,7 +55,10 @@ 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)
t.HasConfig = firstId.Contains(t.HosID) ? 2 : 1; t.HasConfig = firstId.Contains(t.HosID) ? 2 : 1;
else
t.HasConfig = 0;
//绩效列表 //绩效列表
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)
......
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