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
0c4a9b71
Commit
0c4a9b71
authored
Jan 14, 2020
by
李承祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二次绩效带出本科室,同一科室类型历史数据
parent
cc02a9a2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
performance/Performance.Services/SecondAllotService.cs
+4
-2
No files found.
performance/Performance.Services/SecondAllotService.cs
View file @
0c4a9b71
...
...
@@ -181,8 +181,10 @@ public SecondResponse GetSecondDetail(UseTempRequest request)
var
bringhead
=
headItems
.
Where
(
t
=>
t
.
IsBring
==
1
).
ToList
();
if
(
bringhead
!=
null
&&
bringhead
.
Count
>
0
)
{
var
allotList
=
perforPerallotRepository
.
GetEntities
(
t
=>
t
.
HospitalId
==
request
.
HospitalId
);
var
secondIdList
=
perforAgsecondallotRepository
.
GetEntities
(
t
=>
allotList
.
Select
(
a
=>
a
.
ID
).
Contains
(
t
.
AllotId
.
Value
)).
OrderBy
(
t
=>
t
.
Year
).
ThenBy
(
t
=>
t
.
Month
).
Select
(
t
=>
t
.
Id
).
ToList
();
var
allotIds
=
perforPerallotRepository
.
GetEntities
(
t
=>
t
.
HospitalId
==
request
.
HospitalId
).
Select
(
a
=>
a
.
ID
);
var
secondIdList
=
perforAgsecondallotRepository
.
GetEntities
(
t
=>
allotIds
.
Contains
(
t
.
AllotId
.
Value
)
&&
t
.
Department
==
request
.
Department
&&
t
.
UnitType
==
request
.
UnitType
)
.
OrderBy
(
t
=>
t
.
Year
).
ThenBy
(
t
=>
t
.
Month
).
Select
(
t
=>
t
.
Id
).
ToList
();
var
index
=
secondIdList
.
IndexOf
(
request
.
SecondId
);
if
(
index
!=
0
)
fixatList
=
perforAgfixatitemRepository
.
GetEntities
(
t
=>
t
.
SecondId
==
secondIdList
.
ElementAt
(
index
-
1
)
&&
t
.
RowNumber
.
HasValue
);
...
...
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