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
d5087a73
Commit
d5087a73
authored
Nov 20, 2023
by
wyc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
科室详情-补全临床科室收入明细(空不显示)
parent
3ea74349
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
performance/Performance.Services/ComputeService.UniteDeptDetail.cs
+4
-2
No files found.
performance/Performance.Services/ComputeService.UniteDeptDetail.cs
View file @
d5087a73
...
...
@@ -203,7 +203,6 @@ public UniteDeptDetailResponse UniteDeptDetail(int allotId, UnitType unitType, s
foreach
(
var
post
in
postDatas
.
GroupBy
(
t
=>
new
{
t
.
TypeName
}))
{
if
(
ignore
.
Contains
(
post
.
Key
.
TypeName
))
continue
;
var
lhfz
=
post
.
Sum
(
group
=>
group
.
CellValue
);
var
hsfz
=
post
.
Sum
(
group
=>
group
.
IsFactor
==
1
?
(
group
.
CellValue
*
(
group
.
FactorValue
??
0
))
:
group
.
CellValue
);
var
row
=
new
Dictionary
<
string
,
object
>
...
...
@@ -213,7 +212,10 @@ public UniteDeptDetailResponse UniteDeptDetail(int allotId, UnitType unitType, s
{
"核算比例"
,
post
.
FirstOrDefault
().
FactorValue
},
{
"核算分值"
,
ValueFormating
(
hsfz
,
""
)
},
};
items
.
Add
(
row
);
if
(
post
.
FirstOrDefault
().
FactorValue
!=
null
)
{
items
.
Add
(
row
);
}
}
#
region
添加合计
{
...
...
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