Commit cd28891b by zry

Merge branch 'master' into feature/hangfire

parents 79c0f877 122515be
......@@ -14,6 +14,6 @@ public class UserResponse
public string Mail { get; set; }
public string Mobile { get; set; }
public int States { get; set; }
public List<int> Hospital { get; set; }
public string Hospital { get; set; }
}
}
......@@ -81,7 +81,7 @@ public List<UserResponse> GetUserList(int userID)
var hoslist = _userhospitalRepository.GetEntities(p => p.UserID == item.UserID);
if (hoslist != null && hoslist.Count() > 0)
{
item.Hospital = hoslist.Select(p => p.HospitalID.Value).ToList();
item.Hospital = string.Join(",", hoslist.Select(p => p.HospitalID.Value));
}
}
}
......
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