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
937196a0
Commit
937196a0
authored
Mar 05, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
临床人员绩效分配时,新增基础绩效系数计算
parent
837d0948
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
3 deletions
+31
-3
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+10
-0
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+5
-0
performance/Performance.Services/PerExcelService/ComputeEmpolyee/ComputeDirector.cs
+15
-2
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadClinicEmployee.cs
+1
-1
No files found.
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
937196a0
...
...
@@ -370,6 +370,11 @@
工号
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeEmployee.Basics"
>
<summary>
基础绩效系数
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeEmployee.PostCoefficient"
>
<summary>
岗位系数
...
...
@@ -869,6 +874,11 @@
职称
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataClinicEmployee.Basics"
>
<summary>
基础绩效系数
</summary>
</member>
<member
name=
"P:Performance.DtoModels.PerDataClinicEmployee.PostCoefficient"
>
<summary>
岗位系数
...
...
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
937196a0
...
...
@@ -1788,6 +1788,11 @@
职称
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee_clinic.Basics"
>
<summary>
基础绩效系数
</summary>
</member>
<member
name=
"P:Performance.EntityModels.im_employee_clinic.PostCoefficient"
>
<summary>
岗位系数
...
...
performance/Performance.Services/PerExcelService/ComputeEmpolyee/ComputeDirector.cs
View file @
937196a0
...
...
@@ -296,10 +296,23 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, List<im_a
foreach
(
var
emp
in
empDis
)
{
var
empolyees
=
empolyeeList
.
Where
(
w
=>
w
.
DoctorName
==
emp
.
DoctorName
&&
w
.
JobNumber
==
emp
.
JobNumber
);
for
each
(
var
empolyee
in
empolyees
)
for
(
int
i
=
0
;
i
<
empolyees
.
Count
();
i
++
)
{
var
empolyee
=
empolyees
.
ElementAt
(
i
);
var
resAccount
=
dataList
.
FirstOrDefault
(
t
=>
((
UnitType
)
t
.
UnitType
).
ToString
()
==
empolyee
.
UnitType
&&
t
.
AccountingUnit
==
empolyee
.
AccountingUnit
);
if
(
resAccount
==
null
)
continue
;
if
(
resAccount
==
null
)
{
// 如果没有找到科室,则找相同用户的其他核算单元类型
for
(
int
j
=
0
;
j
<
empolyees
.
Count
();
j
++)
{
if
(
i
==
j
)
continue
;
var
empolyee2
=
empolyees
.
ElementAt
(
j
);
resAccount
=
dataList
.
FirstOrDefault
(
t
=>
((
UnitType
)
t
.
UnitType
).
ToString
()
==
empolyee2
.
UnitType
&&
t
.
AccountingUnit
==
empolyee2
.
AccountingUnit
);
if
(
resAccount
!=
null
)
continue
;
}
if
(
resAccount
==
null
)
continue
;
}
var
basicRule
=
basicRuleList
.
FirstOrDefault
(
t
=>
t
.
UnitType
==
(
UnitType
)
resAccount
.
UnitType
);
if
(
basicRule
==
null
)
continue
;
...
...
performance/Performance.Services/PerExcelService/SheetDataRead/PerSheetDataReadClinicEmployee.cs
View file @
937196a0
...
...
@@ -36,7 +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
),
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