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
8d46b17e
Commit
8d46b17e
authored
Sep 17, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
考核得分率变更
parent
51f34449
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
4 deletions
+13
-4
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+5
-0
performance/Performance.Services/AllotCompute/ProcessComputService.cs
+2
-1
performance/Performance.Services/AllotCompute/ResultComputeService.cs
+2
-1
performance/Performance.Services/ComputeService.cs
+4
-2
No files found.
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
8d46b17e
...
...
@@ -1712,6 +1712,11 @@
ExTypeId
</summary>
</member>
<member
name=
"P:Performance.EntityModels.ex_script.ConfigId"
>
<summary>
配置Id
</summary>
</member>
<member
name=
"P:Performance.EntityModels.ex_script.IsEnable"
>
<summary>
是否可用 1 可用 2 不可用
...
...
performance/Performance.Services/AllotCompute/ProcessComputService.cs
View file @
8d46b17e
...
...
@@ -289,7 +289,8 @@ 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
??
0
:
dept
.
ScoringAverage
;
//dept.ScoringAverage = scoreAverage.HasValue ? scoreAverage ?? 0 : dept.ScoringAverage;
dept
.
ScoringAverage
=
dept
.
ScoringAverage
;
dept
.
AdjustFactor
=
dept
.
AdjustFactor
==
0
m
?
1
:
dept
.
AdjustFactor
;
dept
.
Income
=
econDoctor
?.
CellValue
??
0
;
dept
.
WorkloadFee
=
workDoctor
?.
CellValue
??
0
;
...
...
performance/Performance.Services/AllotCompute/ResultComputeService.cs
View file @
8d46b17e
...
...
@@ -188,7 +188,8 @@ public class ResultComputeService : IAutoInjection
Quantity
=
item
.
Quantity
,
QuantitativeIndicatorsValue
=
item
.
QuantitativeIndicatorsValue
,
QuantitativeFee
=
item
.
Quantity
*
item
.
QuantitativeIndicatorsValue
*
headcount
,
ScoringAverage
=
scoreAverage
.
HasValue
?
scoreAverage
:
dept
?.
ScoringAverage
,
//ScoringAverage = scoreAverage.HasValue ? scoreAverage : dept?.ScoringAverage,
ScoringAverage
=
dept
?.
ScoringAverage
,
//OtherPerfor = dept?.OtherPerfor,
Punishment
=
(
extra
??
0
),
MedicineExtra
=
(
drugExtra
??
0
),
...
...
performance/Performance.Services/ComputeService.cs
View file @
8d46b17e
...
...
@@ -761,7 +761,8 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
else
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
AccountScoreAverage
)
{
sheettype
=
8
;
amount
=
Math
.
Round
(
doctor
?.
ScoringAverage
??
0
,
4
);
//amount = Math.Round(doctor?.ScoringAverage ?? 0, 4);
amount
=
Math
.
Round
(
basicData
.
Where
(
t
=>
t
.
SheetID
==
sheet
.
ID
&&
t
.
UnitType
==
type
&&
t
.
IsTotal
==
1
)?.
FirstOrDefault
().
CellValue
??
0
,
4
);
}
var
item
=
new
DetailDtos
...
...
@@ -999,7 +1000,8 @@ public DeptDataDetails SpecialDeptDetail(ag_secondallot second)
else
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
AccountScoreAverage
)
{
sheettype
=
8
;
amount
=
Math
.
Round
(
special
.
FirstOrDefault
()?.
ScoringAverage
??
0
,
4
);
//amount = Math.Round(special.FirstOrDefault()?.ScoringAverage ?? 0, 4);
amount
=
Math
.
Round
(
basicData
.
Where
(
t
=>
t
.
SheetID
==
sheet
.
ID
&&
t
.
UnitType
==
(
int
)
UnitType
.
特殊核算组
&&
t
.
IsTotal
==
1
)?.
FirstOrDefault
().
CellValue
??
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