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
837d0948
Commit
837d0948
authored
Mar 04, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改一半
parent
e75d6840
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
24 additions
and
28 deletions
+24
-28
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+0
-10
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+0
-10
performance/Performance.DtoModels/PerExcel/ComputeEmployee.cs
+5
-0
performance/Performance.DtoModels/PerExcel/PerDataClinicEmployee.cs
+5
-0
performance/Performance.EntityModels/Entity/im_employee_clinic.cs
+6
-1
performance/Performance.Services/PerExcelService/ComputeEmpolyee/ComputeDirector.cs
+3
-3
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadClinicEmployee.cs
+5
-4
No files found.
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
837d0948
...
...
@@ -550,11 +550,6 @@
工号
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.IncludeAvgCalculate"
>
<summary>
是否带入平均计算 是 否
</summary>
</member>
<member
name=
"T:Performance.DtoModels.UnitType"
>
<summary>
核算单元类型
</summary>
</member>
...
...
@@ -729,11 +724,6 @@
科室名称
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataAccountBaisc.IncludeAvgCalculate"
>
<summary>
是否带入平均计算 是 否
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataAccountBaisc.PermanentStaff"
>
<summary>
定科人数
...
...
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
837d0948
...
...
@@ -1393,11 +1393,6 @@
科室
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.IncludeAvgCalculate"
>
<summary>
是否带入平均计算 是 否
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_accountbasic.PermanentStaff"
>
<summary>
定科人数
...
...
@@ -2518,11 +2513,6 @@
科室
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_account.IncludeAvgCalculate"
>
<summary>
是否带入平均计算 是 否
</summary>
</member>
<member
name=
"P:Performance.EntityModels.res_account.PermanentStaff"
>
<summary>
定科人数
...
...
performance/Performance.DtoModels/PerExcel/ComputeEmployee.cs
View file @
837d0948
...
...
@@ -52,6 +52,11 @@ public class ComputeEmployee
public
string
JobNumber
{
get
;
set
;
}
/// <summary>
/// 基础绩效系数
/// </summary>
public
Nullable
<
decimal
>
Basics
{
get
;
set
;
}
/// <summary>
/// 岗位系数
/// </summary>
public
Nullable
<
decimal
>
PostCoefficient
{
get
;
set
;
}
...
...
performance/Performance.DtoModels/PerExcel/PerDataClinicEmployee.cs
View file @
837d0948
...
...
@@ -37,6 +37,11 @@ public class PerDataClinicEmployee : IPerData
public
string
JobTitle
{
get
;
set
;
}
/// <summary>
/// 基础绩效系数
/// </summary>
public
Nullable
<
decimal
>
Basics
{
get
;
set
;
}
/// <summary>
/// 岗位系数
/// </summary>
public
Nullable
<
decimal
>
PostCoefficient
{
get
;
set
;
}
...
...
performance/Performance.EntityModels/Entity/im_employee_clinic.cs
View file @
837d0948
...
...
@@ -65,7 +65,12 @@ public class im_employee_clinic
/// 职称
/// </summary>
public
string
JobTitle
{
get
;
set
;
}
/// <summary>
/// 基础绩效系数
/// </summary>
public
Nullable
<
decimal
>
Basics
{
get
;
set
;
}
/// <summary>
/// 岗位系数
/// </summary>
...
...
performance/Performance.Services/PerExcelService/ComputeEmpolyee/ComputeDirector.cs
View file @
837d0948
...
...
@@ -297,7 +297,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<im_a
{
var
empolyees
=
empolyeeList
.
Where
(
w
=>
w
.
DoctorName
==
emp
.
DoctorName
&&
w
.
JobNumber
==
emp
.
JobNumber
);
foreach
(
var
empolyee
in
empolyees
)
{
{
var
resAccount
=
dataList
.
FirstOrDefault
(
t
=>
((
UnitType
)
t
.
UnitType
).
ToString
()
==
empolyee
.
UnitType
&&
t
.
AccountingUnit
==
empolyee
.
AccountingUnit
);
if
(
resAccount
==
null
)
continue
;
...
...
@@ -336,7 +336,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<im_a
//应发管理绩效
compute
.
ShouldGiveFee
=
(
compute
.
Efficiency
+
compute
.
Scale
)
*
(
empolyee
.
Management
??
0
);
//绩效合计
compute
.
PerforSumFee
=
compute
.
Avg
+
compute
.
ShouldGiveFee
;
compute
.
PerforSumFee
=
(
compute
.
Avg
*
(
empolyee
.
Basics
??
0
))
+
compute
.
ShouldGiveFee
;
//应发绩效
compute
.
GiveFee
=
compute
.
PerforSumFee
;
//实发绩效
...
...
@@ -349,7 +349,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<im_a
}
return
computeList
;
}
/// <summary>
/// 院领导、业务中层、工勤人员 计算
/// </summary>
...
...
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadClinicEmployee.cs
View file @
837d0948
using
System
;
using
NPOI.SS.UserModel
;
using
Performance.DtoModels
;
using
Performance.Infrastructure
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
NPOI.SS.UserModel
;
using
Performance.DtoModels
;
using
Performance.Infrastructure
;
namespace
Performance.Services
{
...
...
@@ -36,6 +36,7 @@ public List<IPerData> ReadData(ISheet sheet, List<PerHeader> perHeader)
PersonnelNumber
=
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"人员工号"
).
PointCell
)?.
StringCellValue
,
DoctorName
=
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"医生姓名"
).
PointCell
)?.
StringCellValue
,
JobTitle
=
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"职称"
).
PointCell
)?.
StringCellValue
,
Basics
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"岗位系数"
).
PointCell
)?.
NumericCellValue
),
PostCoefficient
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"岗位系数"
).
PointCell
)?.
NumericCellValue
),
Efficiency
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"效率绩效系数"
).
PointCell
)?.
NumericCellValue
),
Scale
=
ConvertHelper
.
To
<
decimal
?>(
row
.
GetCell
(
perHeader
.
FirstOrDefault
(
p
=>
p
.
CellValue
==
"规模绩效系数"
).
PointCell
)?.
NumericCellValue
),
...
...
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