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
f08504de
Commit
f08504de
authored
Oct 19, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
科室详情
parent
201a7605
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
30 deletions
+35
-30
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+7
-2
performance/Performance.Services/ComputeService.cs
+22
-24
performance/Performance.Services/PerExcelService/PerSheetService.cs
+6
-4
No files found.
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
f08504de
...
...
@@ -570,7 +570,12 @@
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.ShouldGiveFee"
>
<summary>
应发管理绩效(需计算)
考核前管理绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.AssessLaterManagementFee"
>
<summary>
考核后管理绩效
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.PerforSumFee"
>
...
...
@@ -620,7 +625,7 @@
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.GiveFee"
>
<summary>
应发绩效 考核
前
(需计算)
应发绩效 考核
后
(需计算)
</summary>
</member>
<member
name=
"P:Performance.DtoModels.ComputeResult.BaiscNormPerforTotal"
>
...
...
performance/Performance.Services/ComputeService.cs
View file @
f08504de
...
...
@@ -710,7 +710,7 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
var
sheetType
=
new
List
<
int
>
{
(
int
)
SheetType
.
Income
,
(
int
)
SheetType
.
OtherIncome
,
(
int
)
SheetType
.
Expend
,
(
int
)
SheetType
.
Workload
,
(
int
)
SheetType
.
AccountExtra
,
(
int
)
SheetType
.
AccountDrugAssess
,
(
int
)
SheetType
.
AccountMaterialsAssess
,
(
int
)
SheetType
.
AccountScoreAverage
,
(
int
)
SheetType
.
AccountAdjustLaterOtherFee
(
int
)
SheetType
.
AccountAdjustLaterOtherFee
,(
int
)
SheetType
.
AccountScoreAverage
,
(
int
)
SheetType
.
BudgetRatio
,
(
int
)
SheetType
.
AssessBeforeOtherFee
};
foreach
(
var
stype
in
sheetType
)
{
...
...
@@ -751,26 +751,25 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
}
else
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
AccountDrugAssess
)
{
sheettype
=
6
;
sheettype
=
5
;
amount
=
doctor
?.
MedicineExtra
??
0
;
}
else
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
AccountMaterialsAssess
)
{
sheettype
=
7
;
sheettype
=
5
;
amount
=
doctor
?.
MaterialsExtra
??
0
;
}
else
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
AccountScoreAverage
)
{
sheettype
=
8
;
//amount = Math.Round(doctor?.ScoringAverage ?? 0, 4);
amount
=
Math
.
Round
(
basicData
.
Where
(
t
=>
t
.
SheetID
==
sheet
.
ID
&&
t
.
UnitType
==
type
&&
t
.
IsTotal
==
1
)?.
FirstOrDefault
()?.
CellValue
??
0
,
4
);
}
else
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
AccountAdjustLaterOtherFee
)
else
{
sheettype
=
9
;
amount
=
Math
.
Round
(
basicData
.
Where
(
t
=>
t
.
SheetID
==
sheet
.
ID
&&
t
.
UnitType
==
type
&&
t
.
IsTotal
==
1
)?.
FirstOrDefault
()?.
CellValue
??
0
,
0
);
int
[]
types
=
new
int
[]
{
(
int
)
SheetType
.
AccountScoreAverage
,
(
int
)
SheetType
.
BudgetRatio
,
(
int
)
SheetType
.
AssessBeforeOtherFee
,
(
int
)
SheetType
.
AccountAdjustLaterOtherFee
};
if
(
types
.
Contains
(
sheet
.
SheetType
??
0
))
{
sheettype
=
5
;
amount
=
Math
.
Round
(
basicData
.
Where
(
t
=>
t
.
SheetID
==
sheet
.
ID
&&
t
.
UnitType
==
type
&&
t
.
IsTotal
==
1
)?.
FirstOrDefault
()?.
CellValue
??
0
,
4
);
}
}
var
item
=
new
DetailDtos
{
ItemName
=
sheetName
,
...
...
@@ -972,7 +971,8 @@ public DeptDataDetails SpecialDeptDetail(ag_secondallot second)
var
sheetType
=
new
List
<
int
>
{
(
int
)
SheetType
.
AccountExtra
,
(
int
)
SheetType
.
AccountDrugAssess
,
(
int
)
SheetType
.
AccountMaterialsAssess
,
(
int
)
SheetType
.
AccountScoreAverage
,
(
int
)
SheetType
.
AccountAdjustLaterOtherFee
(
int
)
SheetType
.
AccountScoreAverage
,
(
int
)
SheetType
.
AccountAdjustLaterOtherFee
,(
int
)
SheetType
.
AccountScoreAverage
,
(
int
)
SheetType
.
BudgetRatio
,
(
int
)
SheetType
.
AssessBeforeOtherFee
,
};
Regex
reg
=
new
Regex
(
"[0-9]*"
);
int
groupBasis
=
0
;
...
...
@@ -996,24 +996,22 @@ public DeptDataDetails SpecialDeptDetail(ag_secondallot second)
}
else
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
AccountDrugAssess
)
{
sheettype
=
6
;
sheettype
=
5
;
amount
=
special
.
FirstOrDefault
()?.
MedicineExtra
??
0
;
}
else
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
AccountMaterialsAssess
)
{
sheettype
=
7
;
sheettype
=
5
;
amount
=
special
.
FirstOrDefault
()?.
MaterialsExtra
??
0
;
}
else
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
AccountScoreAverage
)
{
sheettype
=
8
;
//amount = Math.Round(special.FirstOrDefault()?.ScoringAverage ?? 0, 4);
amount
=
Math
.
Round
(
basicData
.
Where
(
t
=>
t
.
SheetID
==
sheet
.
ID
&&
t
.
UnitType
==
(
int
)
UnitType
.
特殊核算组
&&
t
.
IsTotal
==
1
)?.
FirstOrDefault
()?.
CellValue
??
0
,
4
);
}
else
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
AccountAdjustLaterOtherFee
)
else
{
sheettype
=
9
;
amount
=
Math
.
Round
(
basicData
.
Where
(
t
=>
t
.
SheetID
==
sheet
.
ID
&&
t
.
UnitType
==
(
int
)
UnitType
.
特殊核算组
&&
t
.
IsTotal
==
1
)?.
FirstOrDefault
()?.
CellValue
??
0
,
0
);
int
[]
types
=
new
int
[]
{
(
int
)
SheetType
.
AccountScoreAverage
,
(
int
)
SheetType
.
BudgetRatio
,
(
int
)
SheetType
.
AssessBeforeOtherFee
,
(
int
)
SheetType
.
AccountAdjustLaterOtherFee
};
if
(
types
.
Contains
(
sheet
.
SheetType
??
0
))
{
sheettype
=
5
;
amount
=
Math
.
Round
(
basicData
.
Where
(
t
=>
t
.
SheetID
==
sheet
.
ID
&&
t
.
UnitType
==
(
int
)
UnitType
.
特殊核算组
&&
t
.
IsTotal
==
1
)?.
FirstOrDefault
()?.
CellValue
??
0
,
4
);
}
}
var
item
=
new
DetailDtos
...
...
performance/Performance.Services/PerExcelService/PerSheetService.cs
View file @
f08504de
...
...
@@ -104,6 +104,12 @@ public SheetType GetSheetType(string sheetName)
return
SheetType
.
AccountDrugAssess
;
else
if
(
sheetName
.
StartsWith
(
"5.4"
))
return
SheetType
.
AccountMaterialsAssess
;
else
if
(
sheetName
.
StartsWith
(
"6.10"
))
// 调节后其他管理绩效
return
SheetType
.
PersonAdjustLaterOtherManagePerforFee
;
else
if
(
sheetName
.
StartsWith
(
"6.11"
))
// 个人岗位系数
return
SheetType
.
PersonPostCoefficient
;
else
if
(
sheetName
.
StartsWith
(
"6.1"
))
return
SheetType
.
AccountScoreAverage
;
else
if
(
sheetName
.
StartsWith
(
"6.2"
))
...
...
@@ -119,10 +125,6 @@ public SheetType GetSheetType(string sheetName)
return
SheetType
.
AccountAdjustLaterOtherFee
;
else
if
(
sheetName
.
StartsWith
(
"6.9"
))
// 其他管理绩效
return
SheetType
.
PersonOtherManagePerforFee
;
else
if
(
sheetName
.
StartsWith
(
"6.10"
))
// 调节后其他管理绩效
return
SheetType
.
PersonAdjustLaterOtherManagePerforFee
;
else
if
(
sheetName
.
StartsWith
(
"6.11"
))
// 个人岗位系数
return
SheetType
.
PersonPostCoefficient
;
return
SheetType
.
Unidentifiable
;
}
...
...
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