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
d1def977
Commit
d1def977
authored
Jun 23, 2021
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into feature/新二次分配
parents
66aa2f85
30a3a895
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
performance/Performance.DtoModels/Response/SecPrintResponse.cs
+4
-0
performance/Performance.Services/SecondAllotService.cs
+4
-1
No files found.
performance/Performance.DtoModels/Response/SecPrintResponse.cs
View file @
d1def977
...
...
@@ -47,6 +47,10 @@ public class SecPrintResponse
/// </summary>
public
decimal
?
NightWorkPerformance
{
get
;
set
;
}
/// <summary>
/// 预留比例
/// </summary>
public
decimal
?
ReservedRatio
{
get
;
set
;
}
/// <summary>
/// 实发绩效工资金额
/// </summary>
public
decimal
?
RealAmount
{
get
;
set
;
}
...
...
performance/Performance.Services/SecondAllotService.cs
View file @
d1def977
...
...
@@ -2189,7 +2189,10 @@ public List<SecPrintResponse> Print(int secondId)
// 重算实发绩效
foreach
(
var
item
in
result
)
{
item
.
RealAmount
=
(
item
.
DistPerformance
??
0
)
+
(
item
.
OtherPerformance
??
0
)
+
(
item
.
NightWorkPerformance
??
0
);
per_employee
employee
=
employees
?.
FirstOrDefault
(
t
=>
t
.
PersonnelNumber
==
item
.
JobNumber
);
if
(
employee
!=
null
)
item
.
ReservedRatio
=
employee
.
ReservedRatio
??
0
;
item
.
RealAmount
=
(
item
.
DistPerformance
??
0
)
*
(
1
-
(
item
.
ReservedRatio
??
0
))
+
(
item
.
OtherPerformance
??
0
)
+
(
item
.
NightWorkPerformance
??
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