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
cb2a6b49
Commit
cb2a6b49
authored
Sep 14, 2020
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加其他绩效,其他管理绩效等字段
parent
c4dff4c0
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
240 additions
and
11 deletions
+240
-11
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+62
-2
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+40
-0
performance/Performance.DtoModels/PerExcel/ComputeEmployee.cs
+20
-0
performance/Performance.DtoModels/PerExcel/ComputeResult.cs
+20
-0
performance/Performance.DtoModels/PerExcel/PerDataClinicEmployee.cs
+6
-1
performance/Performance.DtoModels/PerExcel/PerDataEmployee.cs
+16
-1
performance/Performance.DtoModels/Response/ResComputeResponse.cs
+20
-0
performance/Performance.EntityModels/Entity/im_employee.cs
+15
-0
performance/Performance.EntityModels/Entity/im_employee_clinic.cs
+5
-0
performance/Performance.EntityModels/Entity/res_compute.cs
+20
-0
performance/Performance.Services/AllotCompute/ImportDataService.cs
+2
-2
performance/Performance.Services/AllotCompute/ProcessComputService.cs
+1
-0
performance/Performance.Services/ComputeService.cs
+1
-1
performance/Performance.Services/PerExcelService/ComputeEmpolyee/ComputeDirector.cs
+6
-2
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadClinicEmployee.cs
+2
-1
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadEmployee.cs
+4
-1
No files found.
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
cb2a6b49
...
@@ -413,6 +413,26 @@
...
@@ -413,6 +413,26 @@
其他绩效
其他绩效
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.DtoModels.ComputeEmployee.OtherPerfor2"
>
<summary>
其他绩效2
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeEmployee.OtherPerfor3"
>
<summary>
其他绩效3
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeEmployee.OtherPerfor4"
>
<summary>
其他绩效4
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeEmployee.OtherManagePerfor"
>
<summary>
其他管理绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeEmployee.Punishment"
>
<member
name=
"P:Performance.DtoModels.ComputeEmployee.Punishment"
>
<summary>
<summary>
医院奖罚
医院奖罚
...
@@ -528,6 +548,26 @@
...
@@ -528,6 +548,26 @@
其他绩效(来自人员名单)
其他绩效(来自人员名单)
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.OtherPerfor2"
>
<summary>
其他绩效2
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.OtherPerfor3"
>
<summary>
其他绩效3
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.OtherPerfor4"
>
<summary>
其他绩效4
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.OtherManagePerfor"
>
<summary>
其他管理绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.GiveFee"
>
<member
name=
"P:Performance.DtoModels.ComputeResult.GiveFee"
>
<summary>
<summary>
应发绩效(需计算)
应发绩效(需计算)
...
@@ -965,11 +1005,16 @@
...
@@ -965,11 +1005,16 @@
出勤率
出勤率
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.DtoModels.PerDataClinicEmployee.OthePerfor"
>
<member
name=
"P:Performance.DtoModels.PerDataClinicEmployee.Othe
r
Perfor"
>
<summary>
<summary>
其他绩效
其他绩效
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.DtoModels.PerDataClinicEmployee.OtherManagePerfor"
>
<summary>
其他管理绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataClinicEmployee.Punishment"
>
<member
name=
"P:Performance.DtoModels.PerDataClinicEmployee.Punishment"
>
<summary>
<summary>
医院奖罚
医院奖罚
...
@@ -1050,11 +1095,26 @@
...
@@ -1050,11 +1095,26 @@
出勤率
出勤率
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.DtoModels.PerDataEmployee.OthePerfor"
>
<member
name=
"P:Performance.DtoModels.PerDataEmployee.Othe
r
Perfor"
>
<summary>
<summary>
其他绩效
其他绩效
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.DtoModels.PerDataEmployee.OtherPerfor2"
>
<summary>
其他绩效2
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataEmployee.OtherPerfor3"
>
<summary>
其他绩效3
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataEmployee.OtherPerfor4"
>
<summary>
其他绩效4
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataEmployee.Punishment"
>
<member
name=
"P:Performance.DtoModels.PerDataEmployee.Punishment"
>
<summary>
<summary>
医院奖罚
医院奖罚
...
...
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
cb2a6b49
...
@@ -2216,6 +2216,21 @@
...
@@ -2216,6 +2216,21 @@
其他绩效
其他绩效
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.EntityModels.im_employee.OtherPerfor2"
>
<summary>
其他绩效2
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee.OtherPerfor3"
>
<summary>
其他绩效3
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee.OtherPerfor4"
>
<summary>
其他绩效4
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee.Punishment"
>
<member
name=
"P:Performance.EntityModels.im_employee.Punishment"
>
<summary>
<summary>
医院奖罚
医院奖罚
...
@@ -2346,6 +2361,11 @@
...
@@ -2346,6 +2361,11 @@
其他绩效
其他绩效
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.EntityModels.im_employee_clinic.OtherManagePerfor"
>
<summary>
其他管理绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee_clinic.Punishment"
>
<member
name=
"P:Performance.EntityModels.im_employee_clinic.Punishment"
>
<summary>
<summary>
医院奖罚
医院奖罚
...
@@ -4306,6 +4326,26 @@
...
@@ -4306,6 +4326,26 @@
其他绩效(来自人员名单)
其他绩效(来自人员名单)
</summary>
</summary>
</member>
</member>
<member
name=
"P:Performance.EntityModels.res_compute.OtherPerfor2"
>
<summary>
其他绩效2(来自人员名单)
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_compute.OtherPerfor3"
>
<summary>
其他绩效3(来自人员名单)
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_compute.OtherPerfor4"
>
<summary>
其他绩效4(来自人员名单)
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_compute.OtherManagePerfor"
>
<summary>
其他管理绩效(来自人员名单)
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_compute.GiveFee"
>
<member
name=
"P:Performance.EntityModels.res_compute.GiveFee"
>
<summary>
<summary>
应发绩效(需计算)
应发绩效(需计算)
...
...
performance/Performance.DtoModels/PerExcel/ComputeEmployee.cs
View file @
cb2a6b49
...
@@ -97,6 +97,26 @@ public class ComputeEmployee
...
@@ -97,6 +97,26 @@ public class ComputeEmployee
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 其他绩效2
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor2
{
get
;
set
;
}
/// <summary>
/// 其他绩效3
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor3
{
get
;
set
;
}
/// <summary>
/// 其他绩效4
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor4
{
get
;
set
;
}
/// <summary>
/// 其他管理绩效
/// </summary>
public
Nullable
<
decimal
>
OtherManagePerfor
{
get
;
set
;
}
/// <summary>
/// 医院奖罚
/// 医院奖罚
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Punishment
{
get
;
set
;
}
public
Nullable
<
decimal
>
Punishment
{
get
;
set
;
}
...
...
performance/Performance.DtoModels/PerExcel/ComputeResult.cs
View file @
cb2a6b49
...
@@ -91,6 +91,26 @@ public class ComputeResult
...
@@ -91,6 +91,26 @@ public class ComputeResult
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 其他绩效2
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor2
{
get
;
set
;
}
/// <summary>
/// 其他绩效3
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor3
{
get
;
set
;
}
/// <summary>
/// 其他绩效4
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor4
{
get
;
set
;
}
/// <summary>
/// 其他管理绩效
/// </summary>
public
Nullable
<
decimal
>
OtherManagePerfor
{
get
;
set
;
}
/// <summary>
/// 应发绩效(需计算)
/// 应发绩效(需计算)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
GiveFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
GiveFee
{
get
;
set
;
}
...
...
performance/Performance.DtoModels/PerExcel/PerDataClinicEmployee.cs
View file @
cb2a6b49
...
@@ -79,7 +79,12 @@ public class PerDataClinicEmployee : IPerData
...
@@ -79,7 +79,12 @@ public class PerDataClinicEmployee : IPerData
/// <summary>
/// <summary>
/// 其他绩效
/// 其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
OthePerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// 其他管理绩效
/// </summary>
public
Nullable
<
decimal
>
OtherManagePerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院奖罚
/// 医院奖罚
...
...
performance/Performance.DtoModels/PerExcel/PerDataEmployee.cs
View file @
cb2a6b49
...
@@ -79,7 +79,22 @@ public class PerDataEmployee : IPerData
...
@@ -79,7 +79,22 @@ public class PerDataEmployee : IPerData
/// <summary>
/// <summary>
/// 其他绩效
/// 其他绩效
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
OthePerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// 其他绩效2
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor2
{
get
;
set
;
}
/// <summary>
/// 其他绩效3
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor3
{
get
;
set
;
}
/// <summary>
/// 其他绩效4
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor4
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 医院奖罚
/// 医院奖罚
...
...
performance/Performance.DtoModels/Response/ResComputeResponse.cs
View file @
cb2a6b49
...
@@ -107,6 +107,26 @@ public class ResComputeResponse
...
@@ -107,6 +107,26 @@ public class ResComputeResponse
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 其他绩效2(来自人员名单)
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor2
{
get
;
set
;
}
/// <summary>
/// 其他绩效3(来自人员名单)
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor3
{
get
;
set
;
}
/// <summary>
/// 其他绩效4(来自人员名单)
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor4
{
get
;
set
;
}
/// <summary>
/// 其他管理绩效(来自人员名单)
/// </summary>
public
Nullable
<
decimal
>
OtherManagePerfor
{
get
;
set
;
}
/// <summary>
/// 应发绩效(需计算)
/// 应发绩效(需计算)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
GiveFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
GiveFee
{
get
;
set
;
}
...
...
performance/Performance.EntityModels/Entity/im_employee.cs
View file @
cb2a6b49
...
@@ -117,6 +117,21 @@ public class im_employee
...
@@ -117,6 +117,21 @@ public class im_employee
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 其他绩效2
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor2
{
get
;
set
;
}
/// <summary>
/// 其他绩效3
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor3
{
get
;
set
;
}
/// <summary>
/// 其他绩效4
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor4
{
get
;
set
;
}
/// <summary>
/// 医院奖罚
/// 医院奖罚
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Punishment
{
get
;
set
;
}
public
Nullable
<
decimal
>
Punishment
{
get
;
set
;
}
...
...
performance/Performance.EntityModels/Entity/im_employee_clinic.cs
View file @
cb2a6b49
...
@@ -117,6 +117,11 @@ public class im_employee_clinic
...
@@ -117,6 +117,11 @@ public class im_employee_clinic
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 其他管理绩效
/// </summary>
public
Nullable
<
decimal
>
OtherManagePerfor
{
get
;
set
;
}
/// <summary>
/// 医院奖罚
/// 医院奖罚
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
Punishment
{
get
;
set
;
}
public
Nullable
<
decimal
>
Punishment
{
get
;
set
;
}
...
...
performance/Performance.EntityModels/Entity/res_compute.cs
View file @
cb2a6b49
...
@@ -127,6 +127,26 @@ public class res_compute
...
@@ -127,6 +127,26 @@ public class res_compute
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 其他绩效2(来自人员名单)
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor2
{
get
;
set
;
}
/// <summary>
/// 其他绩效3(来自人员名单)
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor3
{
get
;
set
;
}
/// <summary>
/// 其他绩效4(来自人员名单)
/// </summary>
public
Nullable
<
decimal
>
OtherPerfor4
{
get
;
set
;
}
/// <summary>
/// 其他管理绩效(来自人员名单)
/// </summary>
public
Nullable
<
decimal
>
OtherManagePerfor
{
get
;
set
;
}
/// <summary>
/// 应发绩效(需计算)
/// 应发绩效(需计算)
/// </summary>
/// </summary>
public
Nullable
<
decimal
>
GiveFee
{
get
;
set
;
}
public
Nullable
<
decimal
>
GiveFee
{
get
;
set
;
}
...
...
performance/Performance.Services/AllotCompute/ImportDataService.cs
View file @
cb2a6b49
...
@@ -164,7 +164,7 @@ private void SaveEmployee(PerSheet sheet, int allotId)
...
@@ -164,7 +164,7 @@ private void SaveEmployee(PerSheet sheet, int allotId)
var
imdata
=
Mapper
.
Map
<
im_employee
>(
data
);
var
imdata
=
Mapper
.
Map
<
im_employee
>(
data
);
imdata
.
SheetID
=
imsheet
.
ID
;
imdata
.
SheetID
=
imsheet
.
ID
;
imdata
.
AllotID
=
allotId
;
imdata
.
AllotID
=
allotId
;
imdata
.
OtherPerfor
=
data
.
OthePerfor
;
imdata
.
OtherPerfor
=
data
.
Othe
r
Perfor
;
addList
.
Add
(
imdata
);
addList
.
Add
(
imdata
);
}
}
perforImEmployeeRepository
.
AddRange
(
addList
.
ToArray
());
perforImEmployeeRepository
.
AddRange
(
addList
.
ToArray
());
...
@@ -203,7 +203,7 @@ private void SaveClinicEmployee(PerSheet sheet, int allotId)
...
@@ -203,7 +203,7 @@ private void SaveClinicEmployee(PerSheet sheet, int allotId)
var
imdata
=
Mapper
.
Map
<
im_employee_clinic
>(
data
);
var
imdata
=
Mapper
.
Map
<
im_employee_clinic
>(
data
);
imdata
.
SheetID
=
imsheet
.
ID
;
imdata
.
SheetID
=
imsheet
.
ID
;
imdata
.
AllotID
=
allotId
;
imdata
.
AllotID
=
allotId
;
imdata
.
OtherPerfor
=
data
.
OthePerfor
;
imdata
.
OtherPerfor
=
data
.
Othe
r
Perfor
;
addList
.
Add
(
imdata
);
addList
.
Add
(
imdata
);
}
}
perforImemployeeclinicRepository
.
AddRange
(
addList
.
ToArray
());
perforImemployeeclinicRepository
.
AddRange
(
addList
.
ToArray
());
...
...
performance/Performance.Services/AllotCompute/ProcessComputService.cs
View file @
cb2a6b49
...
@@ -541,6 +541,7 @@ private List<CofDrugProp> GetDrugConfig(PerExcel excel, int allotid)
...
@@ -541,6 +541,7 @@ private List<CofDrugProp> GetDrugConfig(PerExcel excel, int allotid)
var
allData
=
datalist
.
GroupBy
(
t
=>
t
.
AccountingUnit
).
Select
(
t
=>
new
{
AccountingUnit
=
t
.
Key
,
SumValue
=
t
.
Sum
(
s
=>
s
.
CellValue
)
});
var
allData
=
datalist
.
GroupBy
(
t
=>
t
.
AccountingUnit
).
Select
(
t
=>
new
{
AccountingUnit
=
t
.
Key
,
SumValue
=
t
.
Sum
(
s
=>
s
.
CellValue
)
});
var
cofList
=
perforCofdrugpropRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotid
);
var
cofList
=
perforCofdrugpropRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
allotid
);
if
(
cofList
==
null
||
!
cofList
.
Any
())
return
cofs
;
var
unitList
=
(
drugData
?.
Select
(
t
=>
t
.
AccountingUnit
)
??
new
List
<
string
>()).
Union
(
allData
.
Select
(
t
=>
t
.
AccountingUnit
));
var
unitList
=
(
drugData
?.
Select
(
t
=>
t
.
AccountingUnit
)
??
new
List
<
string
>()).
Union
(
allData
.
Select
(
t
=>
t
.
AccountingUnit
));
...
...
performance/Performance.Services/ComputeService.cs
View file @
cb2a6b49
...
@@ -171,7 +171,7 @@ public List<ResComputeResponse> GetCompute(int allotId, int type)
...
@@ -171,7 +171,7 @@ public List<ResComputeResponse> GetCompute(int allotId, int type)
t
.
WorkTime
=
string
.
IsNullOrEmpty
(
t
.
WorkTime
)
?
null
:
Convert
.
ToDateTime
(
t
.
WorkTime
).
ToString
(
"yyyy-MM-dd"
);
t
.
WorkTime
=
string
.
IsNullOrEmpty
(
t
.
WorkTime
)
?
null
:
Convert
.
ToDateTime
(
t
.
WorkTime
).
ToString
(
"yyyy-MM-dd"
);
if
(
isShowManage
==
2
)
if
(
isShowManage
==
2
)
{
{
t
.
ShouldGiveFee
=
(
t
.
Efficiency
+
t
.
Scale
)
*
t
.
Grant
;
t
.
ShouldGiveFee
=
(
t
.
Efficiency
+
t
.
Scale
)
*
t
.
Grant
+
(
t
.
OtherManagePerfor
??
0
)
;
t
.
PerforSumFee
=
t
.
ShouldGiveFee
+
t
.
Punishment
+
t
.
OtherPerfor
;
t
.
PerforSumFee
=
t
.
ShouldGiveFee
+
t
.
Punishment
+
t
.
OtherPerfor
;
var
employee
=
employees
.
FirstOrDefault
(
e
=>
e
.
DoctorName
==
t
.
EmployeeName
&&
e
.
AccountingUnit
==
t
.
AccountingUnit
&&
pairs
[
type
].
Contains
(
e
.
UnitType
));
var
employee
=
employees
.
FirstOrDefault
(
e
=>
e
.
DoctorName
==
t
.
EmployeeName
&&
e
.
AccountingUnit
==
t
.
AccountingUnit
&&
pairs
[
type
].
Contains
(
e
.
UnitType
));
var
scoreAverageRate
=
t
.
ScoreAverageRate
??
employee
.
ScoreAverageRate
??
0
;
var
scoreAverageRate
=
t
.
ScoreAverageRate
??
employee
.
ScoreAverageRate
??
0
;
...
...
performance/Performance.Services/PerExcelService/ComputeEmpolyee/ComputeDirector.cs
View file @
cb2a6b49
...
@@ -373,6 +373,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<im_a
...
@@ -373,6 +373,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<im_a
ScoreAverageRate
=
empolyee
.
ScoreAverageRate
,
ScoreAverageRate
=
empolyee
.
ScoreAverageRate
,
Punishment
=
empolyee
.
Punishment
,
Punishment
=
empolyee
.
Punishment
,
OtherPerfor
=
empolyee
.
OtherPerfor
,
OtherPerfor
=
empolyee
.
OtherPerfor
,
OtherManagePerfor
=
empolyee
.
OtherManagePerfor
,
Number
=
resAccount
.
ManagerNumber
+
resAccount
.
Number
,
Number
=
resAccount
.
ManagerNumber
+
resAccount
.
Number
,
PerforTotal
=
resAccount
.
PerforTotal
,
PerforTotal
=
resAccount
.
PerforTotal
,
...
@@ -388,7 +389,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<im_a
...
@@ -388,7 +389,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<im_a
Attendance
=
empolyee
.
Attendance
Attendance
=
empolyee
.
Attendance
};
};
//应发管理绩效
//应发管理绩效
compute
.
ShouldGiveFee
=
Math
.
Round
(((
compute
.
Efficiency
+
compute
.
Scale
)
*
(
compute
.
Grant
??
0
)
+
(
compute
.
Punishment
??
0
)
+
(
compute
.
OtherPerfor
??
0
))
??
0
,
MidpointRounding
.
AwayFromZero
);
compute
.
ShouldGiveFee
=
Math
.
Round
(((
compute
.
Efficiency
+
compute
.
Scale
)
*
(
compute
.
Grant
??
0
)
+
(
compute
.
Punishment
??
0
)
+
(
compute
.
OtherPerfor
??
0
)
+
(
compute
.
OtherManagePerfor
??
0
)
)
??
0
,
MidpointRounding
.
AwayFromZero
);
//绩效合计
//绩效合计
compute
.
PerforSumFee
=
Math
.
Round
(((
compute
.
Avg
*
(
empolyee
.
Basics
??
0
))
+
compute
.
ShouldGiveFee
)
??
0
,
MidpointRounding
.
AwayFromZero
);
compute
.
PerforSumFee
=
Math
.
Round
(((
compute
.
Avg
*
(
empolyee
.
Basics
??
0
))
+
compute
.
ShouldGiveFee
)
??
0
,
MidpointRounding
.
AwayFromZero
);
//应发绩效
//应发绩效
...
@@ -443,6 +444,9 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, per_allot
...
@@ -443,6 +444,9 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, per_allot
ScoreAverageRate
=
item
.
ScoreAverageRate
,
ScoreAverageRate
=
item
.
ScoreAverageRate
,
Punishment
=
item
.
Punishment
,
Punishment
=
item
.
Punishment
,
OtherPerfor
=
item
.
OtherPerfor
,
OtherPerfor
=
item
.
OtherPerfor
,
OtherPerfor2
=
item
.
OtherPerfor2
,
OtherPerfor3
=
item
.
OtherPerfor3
,
OtherPerfor4
=
item
.
OtherPerfor4
,
JobTitle
=
item
.
JobTitle
,
JobTitle
=
item
.
JobTitle
,
JobNumber
=
item
.
JobNumber
,
JobNumber
=
item
.
JobNumber
,
Adjust
=
itemAdjust
,
Adjust
=
itemAdjust
,
...
@@ -468,7 +472,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, per_allot
...
@@ -468,7 +472,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, per_allot
compute
.
BaiscNormValue
=
(
baiscnorm
??
0
)
*
(
item
.
FitPeopleRatio
??
0
);
compute
.
BaiscNormValue
=
(
baiscnorm
??
0
)
*
(
item
.
FitPeopleRatio
??
0
);
//应发绩效
//应发绩效
compute
.
GiveFee
=
Math
.
Round
((
compute
.
BaiscNormValue
*
compute
.
PostCoefficient
*
(
compute
.
WorkYear
??
1
)
*
compute
.
Attendance
*
compute
.
ScoreAverageRate
compute
.
GiveFee
=
Math
.
Round
((
compute
.
BaiscNormValue
*
compute
.
PostCoefficient
*
(
compute
.
WorkYear
??
1
)
*
compute
.
Attendance
*
compute
.
ScoreAverageRate
+
(
compute
.
OtherPerfor
??
0
)
+
(
compute
.
Punishment
??
0
))
??
0
,
MidpointRounding
.
AwayFromZero
);
+
(
compute
.
OtherPerfor
??
0
)
+
(
compute
.
OtherPerfor2
??
0
)
+
(
compute
.
OtherPerfor3
??
0
)
+
(
compute
.
OtherPerfor4
??
0
)
+
(
compute
.
Punishment
??
0
))
??
0
,
MidpointRounding
.
AwayFromZero
);
//实发绩效
//实发绩效
compute
.
RealGiveFee
=
Math
.
Round
((
compute
.
GiveFee
*
(
itemAdjust
??
1
))
??
0
,
MidpointRounding
.
AwayFromZero
);
compute
.
RealGiveFee
=
Math
.
Round
((
compute
.
GiveFee
*
(
itemAdjust
??
1
))
??
0
,
MidpointRounding
.
AwayFromZero
);
computeList
.
Add
(
compute
);
computeList
.
Add
(
compute
);
...
...
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadClinicEmployee.cs
View file @
cb2a6b49
...
@@ -66,7 +66,8 @@ public List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader)
...
@@ -66,7 +66,8 @@ public List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader)
Management
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"管理绩效发放系数"
).
PointCell
)?.
NumericCellValue
),
Management
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"管理绩效发放系数"
).
PointCell
)?.
NumericCellValue
),
ScoreAverageRate
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"考核得分率"
).
PointCell
)?.
NumericCellValue
),
ScoreAverageRate
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"考核得分率"
).
PointCell
)?.
NumericCellValue
),
Attendance
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"出勤率"
).
PointCell
)?.
NumericCellValue
),
Attendance
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"出勤率"
).
PointCell
)?.
NumericCellValue
),
OthePerfor
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"其他绩效"
).
PointCell
)?.
NumericCellValue
),
OtherPerfor
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"其他绩效"
).
PointCell
)?.
NumericCellValue
),
OtherManagePerfor
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"其他管理绩效"
).
PointCell
)?.
NumericCellValue
),
Punishment
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"医院奖罚"
).
PointCell
)?.
NumericCellValue
),
Punishment
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"医院奖罚"
).
PointCell
)?.
NumericCellValue
),
Adjust
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"调节系数"
).
PointCell
)?.
NumericCellValue
),
Adjust
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"调节系数"
).
PointCell
)?.
NumericCellValue
),
};
};
...
...
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadEmployee.cs
View file @
cb2a6b49
...
@@ -70,7 +70,10 @@ public List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader)
...
@@ -70,7 +70,10 @@ public List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader)
Attendance
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"出勤率"
).
PointCell
)?.
NumericCellValue
),
Attendance
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"出勤率"
).
PointCell
)?.
NumericCellValue
),
//PeopleNumber = ConvertHelper.To<int?>(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "核算单元医生数").PointCell)?.ToString()),
//PeopleNumber = ConvertHelper.To<int?>(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "核算单元医生数").PointCell)?.ToString()),
//Workload = ConvertHelper.To<decimal?>(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "工作量绩效").PointCell)?.ToString()),
//Workload = ConvertHelper.To<decimal?>(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "工作量绩效").PointCell)?.ToString()),
OthePerfor
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"其他绩效"
).
PointCell
)?.
NumericCellValue
),
OtherPerfor
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"其他绩效"
).
PointCell
)?.
NumericCellValue
),
OtherPerfor2
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"其他绩效2"
).
PointCell
)?.
NumericCellValue
),
OtherPerfor3
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"其他绩效3"
).
PointCell
)?.
NumericCellValue
),
OtherPerfor4
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"其他绩效4"
).
PointCell
)?.
NumericCellValue
),
Punishment
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"医院奖罚"
).
PointCell
)?.
NumericCellValue
),
Punishment
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"医院奖罚"
).
PointCell
)?.
NumericCellValue
),
Adjust
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"调节系数"
).
PointCell
)?.
NumericCellValue
),
Adjust
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"调节系数"
).
PointCell
)?.
NumericCellValue
),
//Grant = ConvertHelper.To<decimal?>(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "发放系数").PointCell)?.ToString()),
//Grant = ConvertHelper.To<decimal?>(row.GetCell(perHeader.FirstOrDefault(p => p.CellValue == "发放系数").PointCell)?.ToString()),
...
...
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