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
bed53d56
Commit
bed53d56
authored
Oct 10, 2019
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微调绩效
parent
155b6ca0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
performance/Performance.Services/AllotCompute/ProcessComputService.cs
+4
-4
performance/Performance.Services/PerExcelService/ComputeEmpolyee/ComputeDirector.cs
+2
-2
No files found.
performance/Performance.Services/AllotCompute/ProcessComputService.cs
View file @
bed53d56
...
...
@@ -284,7 +284,7 @@ public List<PerSheet> Compute(PerExcel excel, List<PerSheet> perSheet, List<res_
{
string
minimumReference
=
dept
.
MinimumReference
;
if
(
dept
.
MinimumReference
==
EnumHelper
.
GetDescription
(
MinimumType
.
自定义保底
))
minimumReference
=
GetCustomMinimumName
(
dept
.
Department
);
minimumReference
=
GetCustomMinimumName
(
dept
.
Department
,
unitType
.
ToString
()
);
var
minimum
=
baiscnormList
.
FirstOrDefault
(
t
=>
t
.
PositionName
==
minimumReference
);
if
(
minimum
!=
null
)
...
...
@@ -468,7 +468,7 @@ public void ComputeCustomMinimum(PerExcel excel, List<PerSheet> perSheet, List<r
var
baiscnorm
=
new
res_baiscnorm
{
AllotID
=
allotId
,
PositionName
=
GetCustomMinimumName
(
guaranteeGroup
.
Target
),
PositionName
=
GetCustomMinimumName
(
guaranteeGroup
.
Target
,
unitType
.
ToString
()
),
TotelNumber
=
count
,
TotelValue
=
totalValue
,
AvgValue
=
count
==
0
?
0
:
totalValue
/
count
...
...
@@ -482,9 +482,9 @@ public void ComputeCustomMinimum(PerExcel excel, List<PerSheet> perSheet, List<r
/// </summary>
/// <param name="department"></param>
/// <returns></returns>
private
string
GetCustomMinimumName
(
string
department
)
private
string
GetCustomMinimumName
(
string
department
,
string
unitType
)
{
return
$"
{
EnumHelper
.
GetDescription
(
MinimumType
.
自定义保底
)}
(
{
department
}
)"
;
return
$"
{
EnumHelper
.
GetDescription
(
MinimumType
.
自定义保底
)}
(
{
unitType
}{
department
}
)"
;
}
/// <summary>
...
...
performance/Performance.Services/PerExcelService/ComputeEmpolyee/ComputeDirector.cs
View file @
bed53d56
...
...
@@ -210,8 +210,8 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<im_a
OtherPerfor
=
empolyee
.
OtherPerfor
,
Number
=
number
,
PerforTotal
=
realGiveFee
,
Avg
=
realA
vg
,
PerforTotal
=
perforTotal
,
Avg
=
a
vg
,
Efficiency
=
avg
*
(
accountbasic
.
DoctorEffic
??
1
),
Scale
=
perforTotal
*
(
accountbasic
.
DoctorScale
??
1
),
Adjust
=
empolyee
.
Adjust
,
...
...
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