Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
performance
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zry
performance
Commits
cd28891b
Commit
cd28891b
authored
Mar 11, 2019
by
zry
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into feature/hangfire
parents
79c0f877
122515be
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
performance/Performance.DtoModels/Response/UserResponse.cs
+1
-1
performance/Performance.Services/UserService.cs
+1
-1
No files found.
performance/Performance.DtoModels/Response/UserResponse.cs
View file @
cd28891b
...
...
@@ -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
;
}
}
}
performance/Performance.Services/UserService.cs
View file @
cd28891b
...
...
@@ -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
)
);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment