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
8a71eebd
Commit
8a71eebd
authored
Jun 18, 2019
by
799284587@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排序规则
parent
20b07b6f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
performance/Performance.Services/ComputeService.cs
+2
-2
No files found.
performance/Performance.Services/ComputeService.cs
View file @
8a71eebd
...
@@ -63,7 +63,7 @@ public List<ResComputeResponse> GetCompute(int allotId, int type)
...
@@ -63,7 +63,7 @@ public List<ResComputeResponse> GetCompute(int allotId, int type)
};
};
var
obj
=
keyValues2
.
First
(
t
=>
t
.
type
==
type
);
var
obj
=
keyValues2
.
First
(
t
=>
t
.
type
==
type
);
conpute
=
_perforRescomputeRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotId
&&
t
.
AccountType
==
obj
.
accounttype
.
ToString
())
conpute
=
_perforRescomputeRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotId
&&
t
.
AccountType
==
obj
.
accounttype
.
ToString
())
?.
OrderBy
(
t
=>
t
.
AccountingUnit
).
ThenBy
(
t
=>
t
.
FitPeople
).
ToList
();
?.
OrderBy
(
t
=>
t
.
AccountingUnit
).
ThenBy
(
t
=>
t
.
FitPeople
).
T
henByDescending
(
t
=>
t
.
RealGiveFee
).
T
oList
();
}
}
else
if
((
new
int
[]
{
4
,
5
}).
Contains
(
type
))
else
if
((
new
int
[]
{
4
,
5
}).
Contains
(
type
))
{
{
...
@@ -77,7 +77,7 @@ public List<ResComputeResponse> GetCompute(int allotId, int type)
...
@@ -77,7 +77,7 @@ public List<ResComputeResponse> GetCompute(int allotId, int type)
var
dept
=
new
string
[]
{
AccountUnitType
.
临床科室
.
ToString
(),
AccountUnitType
.
医技科室
.
ToString
()
};
var
dept
=
new
string
[]
{
AccountUnitType
.
临床科室
.
ToString
(),
AccountUnitType
.
医技科室
.
ToString
()
};
conpute
=
_perforRescomputeRepository
conpute
=
_perforRescomputeRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotId
&&
dept
.
Contains
(
t
.
AccountType
)
&&
obj
.
accounttype
.
Contains
(
t
.
FitPeople
))
.
GetEntities
(
t
=>
t
.
AllotID
==
allotId
&&
dept
.
Contains
(
t
.
AccountType
)
&&
obj
.
accounttype
.
Contains
(
t
.
FitPeople
))
?.
OrderBy
(
t
=>
t
.
AccountingUnit
).
ThenBy
(
t
=>
t
.
FitPeople
).
ToList
();
?.
OrderBy
(
t
=>
t
.
AccountingUnit
).
ThenBy
(
t
=>
t
.
FitPeople
).
T
henByDescending
(
t
=>
t
.
RealGiveFee
).
T
oList
();
}
}
else
else
{
{
...
...
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