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
b9ae4b7b
Commit
b9ae4b7b
authored
Sep 26, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增其他绩效
parent
0042f9f3
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
516 additions
and
159 deletions
+516
-159
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+87
-7
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+110
-60
performance/Performance.DtoModels/AutoMapper/AutoMapperConfigs.cs
+1
-1
performance/Performance.DtoModels/PerExcel/ComputeEmployee.cs
+15
-0
performance/Performance.DtoModels/PerExcel/ComputeResult.cs
+19
-4
performance/Performance.DtoModels/PerExcel/PerDataAccountBaisc.cs
+23
-3
performance/Performance.DtoModels/PerExcel/PerDataClinicEmployee.cs
+15
-0
performance/Performance.DtoModels/PerExcel/PerDataEmployee.cs
+15
-0
performance/Performance.DtoModels/PerExcel/PerDataLogisticsEmployee.cs
+5
-0
performance/Performance.DtoModels/Response/ResComputeResponse.cs
+15
-0
performance/Performance.EntityModels/Entity/im_accountbasic.cs
+65
-52
performance/Performance.EntityModels/Entity/im_employee.cs
+12
-0
performance/Performance.EntityModels/Entity/im_employee_clinic.cs
+12
-0
performance/Performance.EntityModels/Entity/im_employee_logistics.cs
+13
-0
performance/Performance.EntityModels/Entity/res_account.cs
+18
-1
performance/Performance.EntityModels/Entity/res_compute.cs
+13
-0
performance/Performance.EntityModels/Entity/res_specialunit.cs
+16
-0
performance/Performance.Services/AllotCompute/ProcessComputService.cs
+7
-3
performance/Performance.Services/AllotCompute/ResultComputeService.cs
+19
-12
performance/Performance.Services/OriginalService.cs
+1
-1
performance/Performance.Services/PerExcelService/ComputeEmpolyee/ComputeDirector.cs
+25
-15
performance/Performance.Services/PerExcelService/ExcelReadConfig.cs
+10
-0
No files found.
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
b9ae4b7b
...
...
@@ -408,11 +408,26 @@
效率绩效人数
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeEmployee.AssessBeforeOtherFee"
>
<summary>
考核前其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeEmployee.ScoreAverageRate"
>
<summary>
考核得分率
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeEmployee.AssessLaterOtherFee"
>
<summary>
考核后其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeEmployee.AdjustLaterOtherFee"
>
<summary>
调节后其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeEmployee.Attendance"
>
<summary>
出勤率
...
...
@@ -485,7 +500,7 @@
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.PerforTotal"
>
<summary>
绩效合计(来自科室经济测算表)
绩效合计
考核前
(来自科室经济测算表)
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.Number"
>
...
...
@@ -525,12 +540,27 @@
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.PerforSumFee"
>
<summary>
绩效合计(需计算)
绩效合计 考核前(需计算)
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.AssessBeforeOtherFee"
>
<summary>
考核前其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.ScoreAverageRate"
>
<summary>
考核对分率(来自人员名单)
考核得分率
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.AssessLaterOtherFee"
>
<summary>
考核后其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.AdjustLaterOtherFee"
>
<summary>
调节后其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.Attendance"
>
...
...
@@ -555,7 +585,7 @@
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.GiveFee"
>
<summary>
应发绩效(需计算)
应发绩效
考核前
(需计算)
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.BaiscNormPerforTotal"
>
...
...
@@ -825,9 +855,9 @@
其他绩效1
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataAccountBaisc.
OtherPerfor2
"
>
<member
name=
"P:Performance.DtoModels.PerDataAccountBaisc.
AssessBeforeOtherFee
"
>
<summary>
其他绩效2
考核前其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataAccountBaisc.MedicineExtra"
>
...
...
@@ -850,11 +880,21 @@
考核对分率
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataAccountBaisc.AssessLaterOtherFee"
>
<summary>
考核后其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataAccountBaisc.AdjustFactor"
>
<summary>
调节系数
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataAccountBaisc.AdjustLaterOtherFee"
>
<summary>
调节后其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataAccountBaisc.Scale"
>
<summary>
规模绩效系数
...
...
@@ -892,7 +932,12 @@
</member>
<member
name=
"P:Performance.DtoModels.PerDataAccountBaisc.PerforTotal"
>
<summary>
绩效合计
绩效合计 考核前
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataAccountBaisc.AssessLaterPerforTotal"
>
<summary>
绩效合计 考核后
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataAccountBaisc.Avg"
>
...
...
@@ -965,11 +1010,21 @@
管理绩效发放系数
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataClinicEmployee.AssessBeforeOtherFee"
>
<summary>
考核前其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataClinicEmployee.ScoreAverageRate"
>
<summary>
考核得分率
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataClinicEmployee.AssessLaterOtherFee"
>
<summary>
考核后其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataClinicEmployee.Attendance"
>
<summary>
出勤率
...
...
@@ -990,6 +1045,11 @@
调节系数
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataClinicEmployee.AdjustLaterOtherFee"
>
<summary>
调节后其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataClinicEmployee.RowNumber"
>
<summary>
行号
...
...
@@ -1050,11 +1110,21 @@
夜班费
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataEmployee.AssessBeforeOtherFee"
>
<summary>
考核前其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataEmployee.ScoreAverageRate"
>
<summary>
考核得分率
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataEmployee.AssessLaterOtherFee"
>
<summary>
考核后其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataEmployee.Attendance"
>
<summary>
出勤率
...
...
@@ -1065,6 +1135,11 @@
调节系数
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataEmployee.AdjustLaterOtherFee"
>
<summary>
调节后其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataEmployee.RowNumber"
>
<summary>
行号
...
...
@@ -1125,6 +1200,11 @@
其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataLogisticsEmployee.AdjustLaterOtherFee"
>
<summary>
调节后其他绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataLogisticsEmployee.RowNumber"
>
<summary>
行号
...
...
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
b9ae4b7b
...
...
@@ -1962,79 +1962,29 @@
保底绩效系数
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.NurseHeadNumber"
>
<summary>
护士长人数
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.NurseNumber"
>
<summary>
护士人数
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.NurseBasicFactor"
>
<summary>
护理基础系数
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.NurseSlopeFactor"
>
<summary>
倾斜系数
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.NurseScale"
>
<summary>
规模绩效系数
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.NurseEffic"
>
<summary>
效率绩效系数
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.NurseGrant"
>
<summary>
发放系数
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.NurseOtherPerfor1"
>
<summary>
其他绩效1
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.NurseOtherPerfor2"
>
<summary>
其他绩效2
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.NurseExtra"
>
<summary>
医院奖罚
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.NurseScoringAverage"
>
<member
name=
"P:Performance.EntityModels.im_accountbasic.UpdateDate"
>
<summary>
考核对分率
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.
NurseAdjustFacto
r"
>
<member
name=
"P:Performance.EntityModels.im_accountbasic.
UpdateUse
r"
>
<summary>
调节系数
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.
WorkSlopeFactor
"
>
<member
name=
"P:Performance.EntityModels.im_accountbasic.
AssessBeforeOtherFee
"
>
<summary>
工作量倾斜系数
考核前其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.
UpdateDat
e"
>
<member
name=
"P:Performance.EntityModels.im_accountbasic.
AssessLaterOtherFe
e"
>
<summary>
考核后其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.
UpdateUser
"
>
<member
name=
"P:Performance.EntityModels.im_accountbasic.
AdjustLaterOtherFee
"
>
<summary>
调节后其他绩效
</summary>
</member>
<member
name=
"T:Performance.EntityModels.im_data"
>
...
...
@@ -2277,6 +2227,21 @@
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee.AssessBeforeOtherFee"
>
<summary>
考核前其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee.AssessLaterOtherFee"
>
<summary>
考核后其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee.AdjustLaterOtherFee"
>
<summary>
调节后其他绩效
</summary>
</member>
<member
name=
"T:Performance.EntityModels.im_employee_clinic"
>
<summary>
...
...
@@ -2422,6 +2387,21 @@
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee_clinic.AssessBeforeOtherFee"
>
<summary>
考核前其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee_clinic.AssessLaterOtherFee"
>
<summary>
考核后其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee_clinic.AdjustLaterOtherFee"
>
<summary>
调节后其他绩效
</summary>
</member>
<member
name=
"T:Performance.EntityModels.im_employee_logistics"
>
<summary>
...
...
@@ -2522,6 +2502,21 @@
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee_logistics.AssessBeforeOtherFee"
>
<summary>
考核前其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee_logistics.AssessLaterOtherFee"
>
<summary>
考核后其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee_logistics.AdjustLaterOtherFee"
>
<summary>
调节后其他绩效
</summary>
</member>
<member
name=
"T:Performance.EntityModels.im_header"
>
<summary>
...
...
@@ -4087,6 +4082,26 @@
实发绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_account.AssessBeforeOtherFee"
>
<summary>
考核前其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_account.AssessLaterOtherFee"
>
<summary>
考核后其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_account.AdjustLaterOtherFee"
>
<summary>
调节后其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_account.AssessLaterPerforTotal"
>
<summary>
考核后绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_account.Remark"
>
<summary>
备注
...
...
@@ -4552,6 +4567,21 @@
效率绩效人数
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_compute.AssessBeforeOtherFee"
>
<summary>
考核前其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_compute.AssessLaterOtherFee"
>
<summary>
考核后其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_compute.AdjustLaterOtherFee"
>
<summary>
调节后其他绩效
</summary>
</member>
<member
name=
"T:Performance.EntityModels.res_reserved"
>
<summary>
...
...
@@ -4812,6 +4842,26 @@
业绩总绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_specialunit.PerforTotal"
>
<summary>
考核前绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_specialunit.AssessBeforeOtherFee"
>
<summary>
考核前其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_specialunit.AssessLaterOtherFee"
>
<summary>
考核后其他绩效
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_specialunit.AdjustLaterOtherFee"
>
<summary>
调节后其他绩效
</summary>
</member>
<member
name=
"T:Performance.EntityModels.sys_extract"
>
<summary>
医院数据提取脚本
...
...
performance/Performance.DtoModels/AutoMapper/AutoMapperConfigs.cs
View file @
b9ae4b7b
...
...
@@ -116,7 +116,7 @@ public AutoMapperConfigs()
.
ForMember
(
dest
=>
dest
.
DoctorBasicFactor
,
opt
=>
opt
.
MapFrom
(
src
=>
src
.
BasicFactor
))
//.ForMember(dest => dest.DoctorSlopeFactor, opt => opt.MapFrom(src => src.SlopeFactor))
.
ForMember
(
dest
=>
dest
.
DoctorOtherPerfor1
,
opt
=>
opt
.
MapFrom
(
src
=>
src
.
OtherPerfor1
))
.
ForMember
(
dest
=>
dest
.
DoctorOtherPerfor2
,
opt
=>
opt
.
MapFrom
(
src
=>
src
.
OtherPerfor2
))
//
.ForMember(dest => dest.DoctorOtherPerfor2, opt => opt.MapFrom(src => src.OtherPerfor2))
//.ForMember(dest => dest.DoctorExtra, opt => opt.MapFrom(src => src.Extra))
.
ForMember
(
dest
=>
dest
.
DoctorScoringAverage
,
opt
=>
opt
.
MapFrom
(
src
=>
src
.
ScoringAverage
))
.
ForMember
(
dest
=>
dest
.
DoctorAdjustFactor
,
opt
=>
opt
.
MapFrom
(
src
=>
src
.
AdjustFactor
))
...
...
performance/Performance.DtoModels/PerExcel/ComputeEmployee.cs
View file @
b9ae4b7b
...
...
@@ -82,11 +82,26 @@ public class ComputeEmployee
//public Nullable<DateTime> WorkTime { get; set; }
/// <summary>
/// 考核前其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// 考核得分率
/// </summary>
public
Nullable
<
decimal
>
ScoreAverageRate
{
get
;
set
;
}
/// <summary>
/// 考核后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 调节后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 出勤率
/// </summary>
public
Nullable
<
decimal
>
Attendance
{
get
;
set
;
}
...
...
performance/Performance.DtoModels/PerExcel/ComputeResult.cs
View file @
b9ae4b7b
...
...
@@ -36,7 +36,7 @@ public class ComputeResult
public
string
EmployeeName
{
get
;
set
;
}
/// <summary>
/// 绩效合计(来自科室经济测算表)
/// 绩效合计
考核前
(来自科室经济测算表)
/// </summary>
public
Nullable
<
decimal
>
PerforTotal
{
get
;
set
;
}
...
...
@@ -76,16 +76,31 @@ public class ComputeResult
public
Nullable
<
decimal
>
ShouldGiveFee
{
get
;
set
;
}
/// <summary>
/// 绩效合计(需计算)
/// 绩效合计
考核前
(需计算)
/// </summary>
public
Nullable
<
decimal
>
PerforSumFee
{
get
;
set
;
}
/// <summary>
/// 考核对分率(来自人员名单)
/// 考核前其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// 考核得分率
/// </summary>
public
Nullable
<
decimal
>
ScoreAverageRate
{
get
;
set
;
}
/// <summary>
/// 考核后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 调节后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 出勤率(来自人员名单)
/// </summary>
public
Nullable
<
decimal
>
Attendance
{
get
;
set
;
}
...
...
@@ -106,7 +121,7 @@ public class ComputeResult
public
Nullable
<
decimal
>
OtherPerfor
{
get
;
set
;
}
/// <summary>
/// 应发绩效(需计算)
/// 应发绩效
考核前
(需计算)
/// </summary>
public
Nullable
<
decimal
>
GiveFee
{
get
;
set
;
}
...
...
performance/Performance.DtoModels/PerExcel/PerDataAccountBaisc.cs
View file @
b9ae4b7b
...
...
@@ -64,9 +64,14 @@ public class PerDataAccountBaisc : IPerData
public
decimal
OtherPerfor1
{
get
;
set
;
}
/// <summary>
///
其他绩效2
///
考核前其他绩效
/// </summary>
public
decimal
OtherPerfor2
{
get
;
set
;
}
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
///// <summary>
///// 其他绩效2
///// </summary>
//public decimal OtherPerfor2 { get; set; }
/// <summary>
/// 药占比奖罚
...
...
@@ -89,11 +94,21 @@ public class PerDataAccountBaisc : IPerData
public
decimal
ScoringAverage
{
get
;
set
;
}
/// <summary>
/// 考核后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 调节系数
/// </summary>
public
decimal
AdjustFactor
{
get
;
set
;
}
/// <summary>
/// 调节后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 规模绩效系数
/// </summary>
public
decimal
Scale
{
get
;
set
;
}
...
...
@@ -153,11 +168,16 @@ public class PerDataAccountBaisc : IPerData
public
Nullable
<
decimal
>
WorkloadFee
{
get
;
set
;
}
/// <summary>
/// 绩效合计
/// 绩效合计
考核前
/// </summary>
public
Nullable
<
decimal
>
PerforTotal
{
get
;
set
;
}
/// <summary>
/// 绩效合计 考核后
/// </summary>
public
Nullable
<
decimal
>
AssessLaterPerforTotal
{
get
;
set
;
}
/// <summary>
/// 人均绩效
/// </summary>
public
Nullable
<
decimal
>
Avg
{
get
;
set
;
}
...
...
performance/Performance.DtoModels/PerExcel/PerDataClinicEmployee.cs
View file @
b9ae4b7b
...
...
@@ -77,11 +77,21 @@ public class PerDataClinicEmployee : IPerData
//public Nullable<DateTime> WorkTime { get; set; }
/// <summary>
/// 考核前其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// 考核得分率
/// </summary>
public
Nullable
<
decimal
>
ScoreAverageRate
{
get
;
set
;
}
/// <summary>
/// 考核后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 出勤率
/// </summary>
public
Nullable
<
decimal
>
Attendance
{
get
;
set
;
}
...
...
@@ -112,6 +122,11 @@ public class PerDataClinicEmployee : IPerData
public
Nullable
<
decimal
>
Adjust
{
get
;
set
;
}
/// <summary>
/// 调节后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 行号
/// </summary>
public
int
RowNumber
{
get
;
set
;
}
...
...
performance/Performance.DtoModels/PerExcel/PerDataEmployee.cs
View file @
b9ae4b7b
...
...
@@ -67,11 +67,21 @@ public class PerDataEmployee : IPerData
public
Nullable
<
decimal
>
NightWorkPerfor
{
get
;
set
;
}
/// <summary>
/// 考核前其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// 考核得分率
/// </summary>
public
Nullable
<
decimal
>
ScoreAverageRate
{
get
;
set
;
}
/// <summary>
/// 考核后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 出勤率
/// </summary>
public
Nullable
<
decimal
>
Attendance
{
get
;
set
;
}
...
...
@@ -96,6 +106,11 @@ public class PerDataEmployee : IPerData
/// </summary>
public
Nullable
<
decimal
>
Adjust
{
get
;
set
;
}
/// <summary>
/// 调节后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
///// <summary>
///// 发放系数
///// </summary>
...
...
performance/Performance.DtoModels/PerExcel/PerDataLogisticsEmployee.cs
View file @
b9ae4b7b
...
...
@@ -62,6 +62,11 @@ public class PerDataLogisticsEmployee : IPerData
public
Nullable
<
decimal
>
OthePerfor
{
get
;
set
;
}
/// <summary>
/// 调节后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 行号
/// </summary>
public
int
RowNumber
{
get
;
set
;
}
...
...
performance/Performance.DtoModels/Response/ResComputeResponse.cs
View file @
b9ae4b7b
...
...
@@ -182,5 +182,20 @@ public class ResComputeResponse
/// 医院其他绩效
/// </summary>
public
Nullable
<
decimal
>
OtherPerformance
{
get
;
set
;
}
/// <summary>
/// 考核前其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// 考核后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 调节后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
}
}
performance/Performance.EntityModels/Entity/im_accountbasic.cs
View file @
b9ae4b7b
...
...
@@ -141,70 +141,70 @@ public class im_accountbasic
/// </summary>
public
Nullable
<
decimal
>
MinimumFactor
{
get
;
set
;
}
/// <summary>
/// 护士长人数
/// </summary>
public
Nullable
<
decimal
>
NurseHeadNumber
{
get
;
set
;
}
///
//
<summary>
///
//
护士长人数
///
//
</summary>
//
public Nullable<decimal> NurseHeadNumber { get; set; }
/// <summary>
/// 护士人数
/// </summary>
public
Nullable
<
decimal
>
NurseNumber
{
get
;
set
;
}
///
//
<summary>
///
//
护士人数
///
//
</summary>
//
public Nullable<decimal> NurseNumber { get; set; }
/// <summary>
/// 护理基础系数
/// </summary>
public
Nullable
<
decimal
>
NurseBasicFactor
{
get
;
set
;
}
///
//
<summary>
///
//
护理基础系数
///
//
</summary>
//
public Nullable<decimal> NurseBasicFactor { get; set; }
/// <summary>
/// 倾斜系数
/// </summary>
public
Nullable
<
decimal
>
NurseSlopeFactor
{
get
;
set
;
}
///
//
<summary>
///
//
倾斜系数
///
//
</summary>
//
public Nullable<decimal> NurseSlopeFactor { get; set; }
/// <summary>
/// 规模绩效系数
/// </summary>
public
Nullable
<
decimal
>
NurseScale
{
get
;
set
;
}
///
//
<summary>
///
//
规模绩效系数
///
//
</summary>
//
public Nullable<decimal> NurseScale { get; set; }
/// <summary>
/// 效率绩效系数
/// </summary>
public
Nullable
<
decimal
>
NurseEffic
{
get
;
set
;
}
///
//
<summary>
///
//
效率绩效系数
///
//
</summary>
//
public Nullable<decimal> NurseEffic { get; set; }
/// <summary>
/// 发放系数
/// </summary>
public
Nullable
<
decimal
>
NurseGrant
{
get
;
set
;
}
///
//
<summary>
///
//
发放系数
///
//
</summary>
//
public Nullable<decimal> NurseGrant { get; set; }
/// <summary>
/// 其他绩效1
/// </summary>
public
Nullable
<
decimal
>
NurseOtherPerfor1
{
get
;
set
;
}
///
//
<summary>
///
//
其他绩效1
///
//
</summary>
//
public Nullable<decimal> NurseOtherPerfor1 { get; set; }
/// <summary>
/// 其他绩效2
/// </summary>
public
Nullable
<
decimal
>
NurseOtherPerfor2
{
get
;
set
;
}
///
//
<summary>
///
//
其他绩效2
///
//
</summary>
//
public Nullable<decimal> NurseOtherPerfor2 { get; set; }
/// <summary>
/// 医院奖罚
/// </summary>
public
Nullable
<
decimal
>
NurseExtra
{
get
;
set
;
}
///
//
<summary>
///
//
医院奖罚
///
//
</summary>
//
public Nullable<decimal> NurseExtra { get; set; }
/// <summary>
/// 考核对分率
/// </summary>
public
Nullable
<
decimal
>
NurseScoringAverage
{
get
;
set
;
}
///
//
<summary>
///
//
考核对分率
///
//
</summary>
//
public Nullable<decimal> NurseScoringAverage { get; set; }
/// <summary>
/// 调节系数
/// </summary>
public
Nullable
<
decimal
>
NurseAdjustFactor
{
get
;
set
;
}
///
//
<summary>
///
//
调节系数
///
//
</summary>
//
public Nullable<decimal> NurseAdjustFactor { get; set; }
/// <summary>
/// 工作量倾斜系数
/// </summary>
public
Nullable
<
decimal
>
WorkSlopeFactor
{
get
;
set
;
}
///
//
<summary>
///
//
工作量倾斜系数
///
//
</summary>
//
public Nullable<decimal> WorkSlopeFactor { get; set; }
/// <summary>
///
...
...
@@ -215,5 +215,18 @@ public class im_accountbasic
///
/// </summary>
public
Nullable
<
int
>
UpdateUser
{
get
;
set
;
}
/// <summary>
/// 考核前其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// 考核后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 调节后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
}
}
performance/Performance.EntityModels/Entity/im_employee.cs
View file @
b9ae4b7b
...
...
@@ -145,5 +145,17 @@ public class im_employee
///
/// </summary>
public
Nullable
<
int
>
UpdateUser
{
get
;
set
;
}
/// <summary>
/// 考核前其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// 考核后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 调节后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
}
}
performance/Performance.EntityModels/Entity/im_employee_clinic.cs
View file @
b9ae4b7b
...
...
@@ -155,5 +155,17 @@ public class im_employee_clinic
///
/// </summary>
public
Nullable
<
int
>
UpdateUser
{
get
;
set
;
}
/// <summary>
/// 考核前其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// 考核后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 调节后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
}
}
performance/Performance.EntityModels/Entity/im_employee_logistics.cs
View file @
b9ae4b7b
...
...
@@ -140,5 +140,18 @@ public class im_employee_logistics
///
/// </summary>
public
Nullable
<
int
>
UpdateUser
{
get
;
set
;
}
/// <summary>
/// 考核前其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// 考核后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 调节后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
}
}
performance/Performance.EntityModels/Entity/res_account.cs
View file @
b9ae4b7b
...
...
@@ -160,7 +160,24 @@ public class res_account
/// 实发绩效
/// </summary>
public
Nullable
<
decimal
>
RealGiveFee
{
get
;
set
;
}
/// <summary>
/// 考核前其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// 考核后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 调节后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 考核后绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterPerforTotal
{
get
;
set
;
}
/// <summary>
/// 备注
/// </summary>
...
...
performance/Performance.EntityModels/Entity/res_compute.cs
View file @
b9ae4b7b
...
...
@@ -210,5 +210,18 @@ public class res_compute
/// 效率绩效人数
/// </summary>
public
Nullable
<
decimal
>
PermanentStaff
{
get
;
set
;
}
/// <summary>
/// 考核前其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// 考核后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 调节后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
}
}
performance/Performance.EntityModels/Entity/res_specialunit.cs
View file @
b9ae4b7b
...
...
@@ -115,5 +115,21 @@ public class res_specialunit
/// 业绩总绩效
/// </summary>
public
Nullable
<
decimal
>
ResultsTotalFee
{
get
;
set
;
}
/// <summary>
/// 考核前绩效
/// </summary>
public
Nullable
<
decimal
>
PerforTotal
{
get
;
set
;
}
/// <summary>
/// 考核前其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessBeforeOtherFee
{
get
;
set
;
}
/// <summary>
/// 考核后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AssessLaterOtherFee
{
get
;
set
;
}
/// <summary>
/// 调节后其他绩效
/// </summary>
public
Nullable
<
decimal
>
AdjustLaterOtherFee
{
get
;
set
;
}
}
}
performance/Performance.Services/AllotCompute/ProcessComputService.cs
View file @
b9ae4b7b
...
...
@@ -305,12 +305,16 @@ public void Save(List<PerSheet> perSheets, int allotId)
dept
.
AdjustFactor
=
dept
.
AdjustFactor
==
0
m
?
1
:
dept
.
AdjustFactor
;
dept
.
Income
=
econDoctor
?.
CellValue
??
0
;
dept
.
WorkloadFee
=
workDoctor
?.
CellValue
??
0
;
dept
.
AssessBeforeOtherFee
=
dept
.
AssessBeforeOtherFee
??
0
;
dept
.
AssessLaterOtherFee
=
dept
.
AssessLaterOtherFee
??
0
;
dept
.
AdjustLaterOtherFee
=
dept
.
AdjustLaterOtherFee
??
0
;
dept
.
Extra
=
(
extra
??
0
);
dept
.
MedicineExtra
=
(
drugExtra
??
0
);
dept
.
MaterialsExtra
=
(
materialsExtra
??
0
);
dept
.
PerforFee
=
dept
.
Income
*
dept
.
BasicFactor
;
dept
.
PerforTotal
=
Math
.
Round
((
dept
.
PerforFee
+
dept
.
WorkloadFee
+
dept
.
OtherPerfor1
)
??
0
);
dept
.
RealGiveFee
=
Math
.
Round
(((
dept
.
PerforTotal
*
dept
.
ScoringAverage
+
dept
.
MedicineExtra
+
dept
.
MaterialsExtra
+
dept
.
OtherPerfor2
+
(
extra
??
0
))
*
dept
.
AdjustFactor
)
??
0
);
dept
.
PerforTotal
=
Math
.
Round
((
dept
.
PerforFee
+
dept
.
WorkloadFee
+
dept
.
OtherPerfor1
+
dept
.
AssessBeforeOtherFee
)
??
0
);
dept
.
AssessLaterPerforTotal
=
Math
.
Round
((
dept
.
PerforTotal
*
dept
.
ScoringAverage
+
dept
.
MedicineExtra
+
dept
.
MaterialsExtra
+
dept
.
Extra
+
dept
.
AssessLaterOtherFee
)
??
0
);
dept
.
RealGiveFee
=
Math
.
Round
((
dept
.
AssessLaterPerforTotal
*
dept
.
AdjustFactor
+
dept
.
AdjustLaterOtherFee
)
??
0
);
dept
.
Avg
=
dept
.
ManagerNumber
+
dept
.
Number
==
0
?
0
:
dept
.
PerforTotal
/
(
dept
.
ManagerNumber
+
dept
.
Number
);
}
...
...
@@ -368,7 +372,7 @@ public void ComputeOffice(per_allot allot, PerExcel excel, IEnumerable<AccountUn
dept
.
MaterialsExtra
=
0
;
//(materialsExtra ?? 0);
dept
.
PerforFee
=
empolyees
.
Sum
(
w
=>
w
.
PerforTotal
??
0
);
dept
.
PerforTotal
=
Math
.
Round
((
dept
.
PerforFee
+
(
dept
?.
OtherPerfor1
??
0
))
??
0
);
dept
.
RealGiveFee
=
Math
.
Round
(((
dept
.
PerforTotal
*
dept
.
ScoringAverage
+
dept
.
MedicineExtra
+
dept
.
MaterialsExtra
+
dept
.
OtherPerfor2
+
(
extra
??
0
))
*
dept
.
AdjustFactor
)
??
0
);
dept
.
RealGiveFee
=
Math
.
Round
(((
dept
.
PerforTotal
*
dept
.
ScoringAverage
+
dept
.
MedicineExtra
+
dept
.
MaterialsExtra
+
(
extra
??
0
))
*
dept
.
AdjustFactor
)
??
0
);
//dept.Avg = dept.ManagerNumber + dept.Number == 0 ? 0 : dept.PerforTotal / (dept.ManagerNumber + dept.Number);
dept
.
Avg
=
dept
.
Number
==
0
?
0
:
dept
.
PerforTotal
/
dept
.
Number
;
...
...
performance/Performance.Services/AllotCompute/ResultComputeService.cs
View file @
b9ae4b7b
...
...
@@ -164,7 +164,6 @@ public class ResultComputeService : IAutoInjection
});
var
groupAdjust
=
isBudget
?
adjust
:
(
dept
?.
AdjustFactor
??
0
);
foreach
(
var
item
in
accountDataList
)
{
//科室奖罚汇总结果
...
...
@@ -193,16 +192,20 @@ public class ResultComputeService : IAutoInjection
QuantitativeIndicatorsValue
=
item
.
QuantitativeIndicatorsValue
,
QuantitativeFee
=
item
.
Quantity
*
item
.
QuantitativeIndicatorsValue
*
headcount
,
//ScoringAverage = scoreAverage.HasValue ? scoreAverage : dept?.ScoringAverage,
ScoringAverage
=
dept
?.
ScoringAverage
,
ScoringAverage
=
dept
?.
ScoringAverage
??
0
,
OtherPerfor
=
dept
?.
OtherPerfor1
,
Punishment
=
(
extra
??
0
),
MedicineExtra
=
(
drugExtra
??
0
),
MaterialsExtra
=
(
materialsExtra
??
0
),
Adjust
=
(
groupAdjust
==
0
)
?
1
:
groupAdjust
,
};
Adjust
=
isBudget
?
adjust
:
(
dept
?.
AdjustFactor
??
1
),
res
.
GiveFee
=
Math
.
Round
(
sumValue
??
0
);
res
.
RealGiveFee
=
Math
.
Round
(
res
.
GiveFee
*
(
res
.
ScoringAverage
??
0
)
*
(
groupAdjust
==
0
?
1
:
groupAdjust
)
+
(
extra
??
0
)
??
0
);
AssessBeforeOtherFee
=
dept
.
AssessBeforeOtherFee
??
0
,
AssessLaterOtherFee
=
dept
.
AssessLaterOtherFee
??
0
,
AdjustLaterOtherFee
=
dept
.
AdjustLaterOtherFee
??
0
,
};
res
.
PerforTotal
=
(
sumValue
??
0
)
+
res
.
AssessBeforeOtherFee
;
res
.
GiveFee
=
Math
.
Round
(
res
.
PerforTotal
+
res
.
AssessLaterOtherFee
??
0
);
res
.
RealGiveFee
=
Math
.
Round
(
res
.
GiveFee
*
res
.
ScoringAverage
*
res
.
Adjust
+
res
.
Punishment
+
res
.
AdjustLaterOtherFee
??
0
);
res
.
Avg
=
Math
.
Round
((
group
.
Number
!=
0
?
res
.
GiveFee
/
group
.
Number
:
null
)
??
0
);
res
.
ResultsTotalFee
=
Math
.
Round
(
sumValue
??
0
);
...
...
@@ -233,14 +236,18 @@ public class ResultComputeService : IAutoInjection
JobTitle
=
empolyee
.
JobTitle
,
ScoreAverageRate
=
empolyee
.
ScoreAverageRate
,
//Punishment = empolyee.Punishment
,
Punishment
=
extra
??
0
,
//OtherPerfor = empolyee.OtherPerfor,
OtherManagePerfor
=
empolyee
.
OtherManagePerfor
,
Number
=
group
.
Number
,
PerforTotal
=
sumValue
,
Avg
=
group
.
Number
==
0
?
0
:
(
sumValue
/
group
.
Number
),
Adjust
=
empolyeeAdjust
,
Grant
=
isBudget
?
grant
:
empolyee
.
Management
Adjust
=
empolyeeAdjust
??
1
m
,
Grant
=
isBudget
?
grant
:
empolyee
.
Management
,
Attendance
=
empolyee
.
Attendance
??
0
,
AssessBeforeOtherFee
=
empolyee
.
AssessBeforeOtherFee
??
0
,
AssessLaterOtherFee
=
empolyee
.
AssessLaterOtherFee
??
0
,
AdjustLaterOtherFee
=
empolyee
.
AdjustLaterOtherFee
??
0
,
};
compute
.
Efficiency
=
compute
.
Avg
*
(
empolyee
.
Efficiency
??
1
);
...
...
@@ -248,13 +255,13 @@ public class ResultComputeService : IAutoInjection
//应发管理绩效
compute
.
ShouldGiveFee
=
Math
.
Round
((
compute
.
Efficiency
+
compute
.
Scale
)
*
compute
.
Grant
??
0
);
//绩效合计
compute
.
PerforSumFee
=
Math
.
Round
(
compute
.
Avg
+
compute
.
ShouldGiveFee
??
0
);
compute
.
PerforSumFee
=
Math
.
Round
(
compute
.
Avg
+
compute
.
ShouldGiveFee
+
compute
.
AssessBeforeOtherFee
??
0
);
//应发绩效
//compute.GiveFee = compute.PerforSumFee;
compute
.
GiveFee
=
Math
.
Round
(
compute
.
PerforSumFee
*
compute
.
ScoreAverageRate
*
(
compute
.
Attendance
??
0
)
+
(
extra
??
0
)
??
0
);
compute
.
GiveFee
=
Math
.
Round
(
compute
.
PerforSumFee
*
compute
.
ScoreAverageRate
*
compute
.
Attendance
+
compute
.
Punishment
+
compute
.
AssessLaterOtherFee
??
0
);
//实发绩效
//compute.RealGiveFee = (compute.GiveFee * compute.ScoreAverageRate + (compute.Punishment ?? 0) + (compute.OtherPerfor ?? 0)) * (compute.Adjust ?? 1m);
compute
.
RealGiveFee
=
Math
.
Round
(
compute
.
GiveFee
*
(
compute
.
Adjust
??
1
m
)
??
0
);
compute
.
RealGiveFee
=
Math
.
Round
(
compute
.
GiveFee
*
compute
.
Adjust
+
compute
.
AdjustLaterOtherFee
??
0
);
// 参考基数专用绩效合计
compute
.
BaiscNormPerforTotal
=
compute
.
PerforSumFee
;
...
...
performance/Performance.Services/OriginalService.cs
View file @
b9ae4b7b
...
...
@@ -183,7 +183,7 @@ private bool EditAccountBasic(int userId, OriginalRequest request)
{
"核算单元人员数量"
,
nameof
(
im_accountbasic
.
DoctorNumber
)
},
{
"预算比例"
,
nameof
(
im_accountbasic
.
DoctorBasicFactor
)
},
//{ "倾斜系数", nameof(im_accountbasic.DoctorSlopeFactor) },
{
"工作量倾斜系数"
,
nameof
(
im_accountbasic
.
WorkSlopeFactor
)
},
//
{ "工作量倾斜系数", nameof(im_accountbasic.WorkSlopeFactor) },
{
"保底绩效参考标准"
,
nameof
(
im_accountbasic
.
MinimumReference
)
},
{
"保底绩效系数"
,
nameof
(
im_accountbasic
.
MinimumFactor
)
},
{
"其他绩效1"
,
nameof
(
im_accountbasic
.
DoctorOtherPerfor1
)
},
...
...
performance/Performance.Services/PerExcelService/ComputeEmpolyee/ComputeDirector.cs
View file @
b9ae4b7b
...
...
@@ -379,21 +379,24 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<PerS
JobTitle
=
empolyee
.
JobTitle
,
JobNumber
=
empolyee
.
JobNumber
,
ScoreAverageRate
=
empolyee
.
ScoreAverageRate
,
OtherPerfor
=
empolyee
.
OtherPerfor
,
AssessBeforeOtherFee
=
empolyee
.
AssessBeforeOtherFee
??
0
,
ScoreAverageRate
=
empolyee
.
ScoreAverageRate
??
0
,
AssessLaterOtherFee
=
empolyee
.
AssessLaterOtherFee
??
0
,
AdjustLaterOtherFee
=
empolyee
.
AdjustLaterOtherFee
??
0
,
OtherPerfor
=
empolyee
.
OtherPerfor
??
0
,
OtherManagePerfor
=
empolyee
.
OtherManagePerfor
??
0
,
Number
=
resAccount
.
ManagerNumber
+
resAccount
.
Number
,
PerforTotal
=
resAccount
.
PerforTotal
,
Avg
=
avg
,
Efficiency
=
effAvg
*
(
empolyee
.
Efficiency
??
0
),
Scale
=
resAccount
.
PerforTotal
*
(
empolyee
.
Scale
??
0
),
Adjust
=
isBudget
?
adjust
:
empolyee
.
Adjust
,
Adjust
=
(
isBudget
?
adjust
:
empolyee
.
Adjust
)
??
1
m
,
Remark
=
empolyees
.
Count
()
>
1
?
"特殊科室主任,共用核算单元"
:
""
,
Grant
=
isBudget
?
grant
:
empolyee
.
Management
,
Grant
=
(
isBudget
?
grant
:
empolyee
.
Management
)
??
0
,
ManagerNumber
=
resAccount
.
ManagerNumber
,
MedicalNumber
=
resAccount
.
Number
,
PermanentStaff
=
empolyee
.
PermanentStaff
,
Attendance
=
empolyee
.
Attendance
Attendance
=
empolyee
.
Attendance
??
0
,
};
var
extra
=
employeeExtra
?.
Where
(
w
=>
!
string
.
IsNullOrEmpty
(
w
.
AccountingUnit
)
&&
!
string
.
IsNullOrEmpty
(
w
.
UnitType
)
...
...
@@ -403,15 +406,15 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<PerS
compute
.
Punishment
=
extra
??
0
;
//应发管理绩效
compute
.
ShouldGiveFee
=
Math
.
Round
((
compute
.
Efficiency
+
compute
.
Scale
+
compute
.
OtherManagePerfor
)
*
(
compute
.
Grant
??
0
)
??
0
);
compute
.
ShouldGiveFee
=
Math
.
Round
((
compute
.
Efficiency
+
compute
.
Scale
+
compute
.
OtherManagePerfor
)
*
compute
.
Grant
??
0
);
//绩效合计
compute
.
PerforSumFee
=
Math
.
Round
((
compute
.
Avg
*
(
empolyee
.
Basics
??
0
))
+
compute
.
ShouldGiveFee
??
0
);
compute
.
PerforSumFee
=
Math
.
Round
((
compute
.
Avg
*
(
empolyee
.
Basics
??
0
))
+
compute
.
ShouldGiveFee
+
compute
.
AssessBeforeOtherFee
??
0
);
//应发绩效
//compute.GiveFee = compute.PerforSumFee;
compute
.
GiveFee
=
Math
.
Round
(
compute
.
PerforSumFee
*
compute
.
ScoreAverageRate
*
(
compute
.
Attendance
??
0
)
+
(
extra
??
0
)
??
0
)
+
(
compute
.
OtherPerfor
??
0
);
compute
.
GiveFee
=
Math
.
Round
(
compute
.
PerforSumFee
*
compute
.
ScoreAverageRate
*
compute
.
Attendance
+
compute
.
Punishment
+
compute
.
OtherPerfor
+
compute
.
AssessLaterOtherFee
??
0
);
//实发绩效
//compute.RealGiveFee = (compute.GiveFee * compute.ScoreAverageRate * (compute.Attendance ?? 0) + (compute.Punishment ?? 0) + (compute.OtherPerfor ?? 0)) * (compute.Adjust ?? 1m);
compute
.
RealGiveFee
=
Math
.
Round
(
compute
.
GiveFee
*
(
compute
.
Adjust
??
1
m
)
??
0
);
compute
.
RealGiveFee
=
Math
.
Round
(
compute
.
GiveFee
*
compute
.
Adjust
+
compute
.
AdjustLaterOtherFee
??
0
);
// 参考基数专用绩效合计
compute
.
BaiscNormPerforTotal
=
compute
.
PerforSumFee
;
...
...
@@ -455,7 +458,6 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, per_allot
.
FirstOrDefault
(
w
=>
w
.
AccountingUnit
==
item
.
AccountingUnit
&&
w
.
UnitType
==
item
.
UnitType
&&
w
.
JobNumber
==
item
.
JobNumber
&&
w
.
EmployeeName
==
item
.
DoctorName
)
?.
TotelValue
;
var
itemAdjust
=
isBudget
?
adjust
:
item
.
Adjust
;
var
compute
=
new
ComputeResult
{
AccountType
=
item
.
AccountType
,
...
...
@@ -470,12 +472,15 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, per_allot
Attendance
=
item
.
Attendance
,
ScoreAverageRate
=
item
.
ScoreAverageRate
,
Punishment
=
extra
??
0
,
OtherPerfor
=
item
.
OtherPerfor
,
OtherPerfor
=
item
.
OtherPerfor
??
0
,
JobTitle
=
item
.
JobTitle
,
JobNumber
=
item
.
JobNumber
,
Adjust
=
itemAdjust
,
Adjust
=
(
isBudget
?
adjust
:
item
.
Adjust
)
??
1
m
,
//Workload = item.Workload
AssessBeforeOtherFee
=
item
.
AssessBeforeOtherFee
??
0
,
AssessLaterOtherFee
=
item
.
AssessLaterOtherFee
??
0
,
AdjustLaterOtherFee
=
item
.
AdjustLaterOtherFee
??
0
,
};
decimal
?
baiscnorm
=
compute
?.
FitPeopleValue
??
0
;
...
...
@@ -497,17 +502,22 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, per_allot
compute
.
BaiscNormValue
=
baiscnorm
*
(
item
.
FitPeopleRatio
??
0
);
//绩效合计
compute
.
PerforTotal
=
compute
.
BaiscNormValue
*
compute
.
PostCoefficient
*
compute
.
Attendance
;
// 行政高层 行政中层 考核前其他绩效
if
(
AccountUnitType
.
行政高层
.
ToString
()
==
involve
||
AccountUnitType
.
行政中层
.
ToString
()
==
involve
)
compute
.
PerforTotal
=
compute
.
PerforTotal
+
compute
.
AssessBeforeOtherFee
;
//应发绩效
compute
.
GiveFee
=
compute
.
BaiscNormValue
*
compute
.
PostCoefficient
*
compute
.
Attendance
+
compute
.
Punishment
;
// 行政中高层 不需要其他绩效 行政工勤 不需要考核得分率 区分开计算
if
(
AccountUnitType
.
行政工勤
.
ToString
()
==
involve
)
compute
.
GiveFee
=
Math
.
Round
(
compute
.
GiveFee
+
(
compute
.
OtherPerfor
??
0
)
??
0
);
compute
.
GiveFee
=
Math
.
Round
(
compute
.
GiveFee
+
compute
.
OtherPerfor
??
0
);
else
compute
.
GiveFee
=
Math
.
Round
((
compute
.
GiveFee
*
compute
.
ScoreAverageRate
)
??
0
);
compute
.
GiveFee
=
Math
.
Round
((
compute
.
GiveFee
*
compute
.
ScoreAverageRate
+
compute
.
AssessLaterOtherFee
)
??
0
);
//实发绩效
compute
.
RealGiveFee
=
Math
.
Round
((
compute
.
GiveFee
*
(
itemAdjust
??
1
)
)
??
0
);
compute
.
RealGiveFee
=
Math
.
Round
((
compute
.
GiveFee
*
compute
.
Adjust
+
compute
.
AdjustLaterOtherFee
)
??
0
);
computeList
.
Add
(
compute
);
}
}
...
...
performance/Performance.Services/PerExcelService/ExcelReadConfig.cs
View file @
b9ae4b7b
...
...
@@ -20,9 +20,12 @@ public class ExcelReadConfig
new
ColumnInfo
(
nameof
(
PerDataEmployee
.
AccountType
),
"人员分类"
),
new
ColumnInfo
(
nameof
(
PerDataEmployee
.
PostCoefficient
),
"岗位系数"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataEmployee
.
NightWorkPerfor
),
"夜班费"
),
new
ColumnInfo
(
nameof
(
PerDataEmployee
.
AssessBeforeOtherFee
),
"考核前其他绩效"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataEmployee
.
ScoreAverageRate
),
"考核得分率"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataEmployee
.
AssessLaterOtherFee
),
"考核后其他绩效"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataEmployee
.
Attendance
),
"出勤率"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataEmployee
.
Adjust
),
"调节系数"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataEmployee
.
AdjustLaterOtherFee
),
"调节后其他绩效"
,
true
),
};
...
...
@@ -40,12 +43,15 @@ public class ExcelReadConfig
new
ColumnInfo
(
nameof
(
PerDataClinicEmployee
.
Efficiency
),
"效率绩效系数"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataClinicEmployee
.
Scale
),
"规模绩效系数"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataClinicEmployee
.
Management
),
"管理绩效发放系数"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataClinicEmployee
.
AssessBeforeOtherFee
),
"考核前其他绩效"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataClinicEmployee
.
ScoreAverageRate
),
"考核得分率"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataClinicEmployee
.
AssessLaterOtherFee
),
"考核后其他绩效"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataClinicEmployee
.
Attendance
),
"出勤率"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataClinicEmployee
.
OtherManagePerfor
),
"其他管理绩效"
),
new
ColumnInfo
(
nameof
(
PerDataClinicEmployee
.
OthePerfor
),
"其他绩效"
),
//new ColumnInfo(nameof(PerDataClinicEmployee.NightWorkPerfor), "夜班费"),
new
ColumnInfo
(
nameof
(
PerDataClinicEmployee
.
Adjust
),
"调节系数"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataClinicEmployee
.
AdjustLaterOtherFee
),
"调节后其他绩效"
,
true
),
};
...
...
@@ -62,6 +68,7 @@ public class ExcelReadConfig
new
ColumnInfo
(
nameof
(
PerDataLogisticsEmployee
.
PostCoefficient
),
"岗位系数"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataLogisticsEmployee
.
Attendance
),
"出勤率"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataLogisticsEmployee
.
OthePerfor
),
"其他绩效"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataLogisticsEmployee
.
AdjustLaterOtherFee
),
"调节后其他绩效"
,
true
),
};
public
static
ColumnInfo
[]
AccountBaisc
{
get
;
set
;
}
=
new
ColumnInfo
[]
...
...
@@ -72,8 +79,11 @@ public class ExcelReadConfig
new
ColumnInfo
(
nameof
(
PerDataAccountBaisc
.
Number
),
"核算单元人员数量"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataAccountBaisc
.
BasicFactor
),
"预算比例"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataAccountBaisc
.
OtherPerfor1
),
"其他绩效1"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataAccountBaisc
.
AssessBeforeOtherFee
),
"考核前其他绩效"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataAccountBaisc
.
ScoringAverage
),
"考核得分率"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataAccountBaisc
.
AssessLaterOtherFee
),
"考核后其他绩效"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataAccountBaisc
.
AdjustFactor
),
"调节系数"
,
true
),
new
ColumnInfo
(
nameof
(
PerDataAccountBaisc
.
AdjustLaterOtherFee
),
"调节后其他绩效"
,
true
),
};
}
...
...
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