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
0d7169c8
Commit
0d7169c8
authored
Sep 16, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考核得分率四舍五入
parent
1a8553e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
performance/Performance.Services/AllotCompute/ProcessComputService.cs
+1
-1
performance/Performance.Services/ComputeService.cs
+2
-2
No files found.
performance/Performance.Services/AllotCompute/ProcessComputService.cs
View file @
0d7169c8
...
...
@@ -289,7 +289,7 @@ public void Save(List<PerSheet> perSheets, int allotId)
workDoctor
=
info
.
Data
.
FirstOrDefault
(
t
=>
t
.
UnitType
==
UnitType
.
医生组
.
ToString
()
&&
t
.
AccountingUnit
==
dept
.
AccountingUnit
);
dept
.
MedicineFactor
=
workDoctor
?.
MedicineFactor
;
dept
.
ScoringAverage
=
(
scoreAverage
.
HasValue
?
scoreAverage
:
dept
.
ScoringAverage
)
??
0
;
dept
.
ScoringAverage
=
scoreAverage
.
HasValue
?
scoreAverage
??
0
:
dept
.
ScoringAverage
;
dept
.
AdjustFactor
=
dept
.
AdjustFactor
==
0
m
?
1
:
dept
.
AdjustFactor
;
dept
.
Income
=
econDoctor
?.
CellValue
??
0
;
dept
.
WorkloadFee
=
workDoctor
?.
CellValue
??
0
;
...
...
performance/Performance.Services/ComputeService.cs
View file @
0d7169c8
...
...
@@ -761,7 +761,7 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
else
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
AccountScoreAverage
)
{
sheettype
=
8
;
amount
=
doctor
?.
ScoringAverage
??
0
;
amount
=
Math
.
Round
(
doctor
?.
ScoringAverage
??
0
,
4
)
;
}
var
item
=
new
DetailDtos
...
...
@@ -999,7 +999,7 @@ public DeptDataDetails SpecialDeptDetail(ag_secondallot second)
else
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
AccountScoreAverage
)
{
sheettype
=
8
;
amount
=
special
.
FirstOrDefault
()?.
ScoringAverage
??
0
;
amount
=
Math
.
Round
(
special
.
FirstOrDefault
()?.
ScoringAverage
??
0
,
4
)
;
}
var
item
=
new
DetailDtos
...
...
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