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
548efcab
Commit
548efcab
authored
Sep 24, 2019
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
显示组
parent
ea95f38a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
performance/Performance.Services/AllotCompute/ProcessComputService.cs
+0
-3
performance/Performance.Services/ComputeService.cs
+2
-1
No files found.
performance/Performance.Services/AllotCompute/ProcessComputService.cs
View file @
548efcab
...
...
@@ -87,9 +87,6 @@ private void SaveComputeAccount(PerSheet sheet, int allotId)
perforPerSheetRepository
.
Add
(
imsheet
);
var
dataList
=
sheet
.
PerData
.
Select
(
t
=>
(
PerDataAccountBaisc
)
t
);
if
(
sheet
.
ModuleName
==
"医生组临床科室单元核算表"
)
dataList
=
dataList
.
Where
(
t
=>
t
.
UnitType
==
UnitType
.
医生组
.
ToString
()).
ToList
();
List
<
res_account
>
addList
=
new
List
<
res_account
>();
foreach
(
var
data
in
dataList
)
{
...
...
performance/Performance.Services/ComputeService.cs
View file @
548efcab
...
...
@@ -95,7 +95,8 @@ public List<res_specialunit> GetSpecial(int allotId)
/// <returns></returns>
public
List
<
DeptResponse
>
GetDoctorPerformance
(
int
allotId
)
{
var
list
=
perforResaccountRepository
.
GetEntities
(
t
=>
t
.
UnitType
==
(
int
)
UnitType
.
医生组
&&
t
.
AllotID
==
allotId
)?.
OrderByDescending
(
t
=>
t
.
AccountingUnit
);
List
<
int
>
types
=
new
List
<
int
>
{
(
int
)
UnitType
.
医生组
,
(
int
)
UnitType
.
医技组
};
var
list
=
perforResaccountRepository
.
GetEntities
(
t
=>
types
.
Contains
(
t
.
UnitType
.
Value
)
&&
t
.
AllotID
==
allotId
)?.
OrderByDescending
(
t
=>
t
.
AccountingUnit
);
List
<
DeptResponse
>
doctor
=
Mapper
.
Map
<
List
<
DeptResponse
>>(
list
);
doctor
?.
ForEach
(
t
=>
t
.
UnitName
=
((
UnitType
)
t
.
UnitType
).
ToString
());
return
doctor
;
...
...
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