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
ad501050
Commit
ad501050
authored
Oct 23, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2020calculate' into v2020morge
parents
7eed7aed
4f090183
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
performance/Performance.Api/Controllers/ComputeController.cs
+0
-5
performance/Performance.Services/AllotCompute/ResultComputeService.cs
+0
-1
No files found.
performance/Performance.Api/Controllers/ComputeController.cs
View file @
ad501050
...
@@ -223,11 +223,6 @@ public ApiResponse AllComputeAvg([FromBody] ComputerRequest request)
...
@@ -223,11 +223,6 @@ public ApiResponse AllComputeAvg([FromBody] ComputerRequest request)
}
}
//List<res_baiscnorm> avgs = new List<res_baiscnorm>();
//List<res_baiscnorm> avgs = new List<res_baiscnorm>();
//var gc = list.Where(w => w.UnitType != UnitType.行政高层.ToString());
//avgs.Add(new res_baiscnorm
//avgs.Add(new res_baiscnorm
//{
//{
// PositionName = "不含行政高层人均绩效",
// PositionName = "不含行政高层人均绩效",
...
...
performance/Performance.Services/AllotCompute/ResultComputeService.cs
View file @
ad501050
...
@@ -255,7 +255,6 @@ public class ResultComputeService : IAutoInjection
...
@@ -255,7 +255,6 @@ public class ResultComputeService : IAutoInjection
Scale
=
sumValue
*
(
empolyee
.
Scale
??
0
),
Scale
=
sumValue
*
(
empolyee
.
Scale
??
0
),
};
};
compute
.
Avg
=
(
group
.
Number
==
0
?
0
:
(
sumValue
/
group
.
Number
))
*
(
empolyee
.
Basics
??
0
)
*
compute
.
Attendance
;
compute
.
Avg
=
(
group
.
Number
==
0
?
0
:
(
sumValue
/
group
.
Number
))
*
(
empolyee
.
Basics
??
0
)
*
compute
.
Attendance
;
// 考核前管理绩效
// 考核前管理绩效
compute
.
ShouldGiveFee
=
Math
.
Round
((
compute
.
Efficiency
+
compute
.
Scale
)
*
compute
.
Grant
+
compute
.
OtherManagePerfor
??
0
);
compute
.
ShouldGiveFee
=
Math
.
Round
((
compute
.
Efficiency
+
compute
.
Scale
)
*
compute
.
Grant
+
compute
.
OtherManagePerfor
??
0
);
...
...
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