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
48141dfd
Commit
48141dfd
authored
Nov 10, 2020
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
特殊、行政后勤科室详情
parent
1e1b69b5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
10 deletions
+16
-10
performance/Performance.Api/Controllers/ComputeController.cs
+5
-0
performance/Performance.Api/wwwroot/Performance.Api.xml
+2
-2
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+1
-1
performance/Performance.DtoModels/Response/DeptDetailResponse.cs
+1
-1
performance/Performance.Services/ComputeService.cs
+7
-6
No files found.
performance/Performance.Api/Controllers/ComputeController.cs
View file @
48141dfd
...
...
@@ -166,6 +166,11 @@ public ApiResponse DeptDetail([FromBody] DeptDetailRequest request)
{
second
=
_computeService
.
GetSecondByAccountId
(
request
.
AccountID
);
}
else
if
(
request
.
AccountID
!=
0
&&
request
.
UnitType
==
(
int
)
UnitType
.
行政后勤
)
{
var
response
=
_computeService
.
DeptOfficeDetail
(
request
.
AccountID
);
return
new
ApiResponse
(
ResponseType
.
OK
,
response
);
}
if
(
second
!=
null
&&
second
.
UnitType
==
UnitType
.
特殊核算组
.
ToString
())
{
...
...
performance/Performance.Api/wwwroot/Performance.Api.xml
View file @
48141dfd
...
...
@@ -701,14 +701,14 @@
</member>
<member
name=
"M:Performance.Api.Controllers.EmployeeController.GetAprGroupList(Performance.EntityModels.per_apr_amount)"
>
<summary>
获取人员补充绩效列表
医院其他绩效审核
</summary>
<param
name=
"request"
></param>
<returns></returns>
</member>
<member
name=
"M:Performance.Api.Controllers.EmployeeController.GetAprDetail(Performance.EntityModels.per_apr_amount)"
>
<summary>
获取人员补充绩效列表
医院其他绩效审核详情
</summary>
<param
name=
"request"
></param>
<returns></returns>
...
...
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
48141dfd
...
...
@@ -2720,7 +2720,7 @@
<summary>
收入项名称
</summary>
</member>
<member
name=
"P:Performance.DtoModels.DetailDtos`1.IncomeType"
>
<summary>
1、收入 2、支出 3、工作量 4、特殊科室 5、科室奖罚 6、科室药占比考核 7、科室材料占比考核 8、调节后其他绩效
</summary>
<summary>
1、收入 2、支出 3、工作量 4、特殊科室 5、科室奖罚 6、科室药占比考核 7、科室材料占比考核 8、调节后其他绩效
9、行政工勤
</summary>
</member>
<member
name=
"P:Performance.DtoModels.DetailDtos`1.OriginalType"
>
<summary>
原始SheetType
</summary>
...
...
performance/Performance.DtoModels/Response/DeptDetailResponse.cs
View file @
48141dfd
...
...
@@ -47,7 +47,7 @@ public class DetailDtos<T>
/// <summary> 收入项名称 </summary>
public
string
ItemName
{
get
;
set
;
}
/// <summary> 1、收入 2、支出 3、工作量 4、特殊科室 5、科室奖罚 6、科室药占比考核 7、科室材料占比考核 8、调节后其他绩效 </summary>
/// <summary> 1、收入 2、支出 3、工作量 4、特殊科室 5、科室奖罚 6、科室药占比考核 7、科室材料占比考核 8、调节后其他绩效
9、行政工勤
</summary>
public
int
IncomeType
{
get
;
set
;
}
/// <summary> 原始SheetType </summary>
public
int
OriginalType
{
get
;
set
;
}
...
...
performance/Performance.Services/ComputeService.cs
View file @
48141dfd
...
...
@@ -730,6 +730,7 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
Detail
=
new
List
<
DetailDtos
>()
};
if
(
basicData
==
null
||
!
basicData
.
Any
())
return
MergeDetails
(
deptDetails
);
var
sheetType
=
new
List
<
int
>
{
...
...
@@ -750,7 +751,7 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
var
sheetName
=
new
Regex
(
"[0-9]*"
).
Replace
(
sheet
.
SheetName
,
""
,
5
).
Replace
(
"."
,
""
).
Replace
(
" "
,
""
);
var
(
sheettype
,
amount
)
=
ClinicDepartmentDetail
(
persheet
,
account
,
basicData
,
sheet
,
type
,
sheetName
);
(
sheettype
,
amount
)
=
CommonDepartmentDetail
(
basicData
,
sheet
,
type
);
(
sheettype
,
amount
)
=
CommonDepartmentDetail
(
basicData
,
sheet
,
type
,
sheettype
,
amount
);
var
items
=
CommonDetailItems
(
basicData
,
headers
,
sheet
,
type
);
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
Workload
)
...
...
@@ -822,10 +823,8 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
return
(
sheettype
,
amount
);
}
private
(
int
sheettype
,
decimal
amount
)
CommonDepartmentDetail
(
List
<
im_data
>
basicData
,
per_sheet
sheet
,
UnitType
type
)
private
(
int
sheettype
,
decimal
amount
)
CommonDepartmentDetail
(
List
<
im_data
>
basicData
,
per_sheet
sheet
,
UnitType
type
,
int
sheettype
=
-
1
,
decimal
amount
=
0
)
{
int
sheettype
=
1
;
decimal
amount
=
0
;
//var sheettype = 1; var amount = 0m;
//if (pairs.ContainsKey((SheetType)sheet.SheetType))
...
...
@@ -846,7 +845,7 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
SheetType
[]
pairs
=
new
SheetType
[]
{
SheetType
.
AccountDrugAssess
,
SheetType
.
AccountMaterialsAssess
,
SheetType
.
AccountScoreAverage
,
SheetType
.
AccountAdjustLaterOtherFee
SheetType
.
Account
Extra
,
SheetType
.
Account
DrugAssess
,
SheetType
.
AccountMaterialsAssess
,
SheetType
.
AccountScoreAverage
,
SheetType
.
AccountAdjustLaterOtherFee
};
if
(
pairs
.
Contains
((
SheetType
)
sheet
.
SheetType
))
{
...
...
@@ -1014,7 +1013,7 @@ public DeptDataDetails DeptOfficeDetail(int accountId)
var
detail
=
new
DetailDtos
{
ItemName
=
"行政后勤核算单元绩效测算表"
,
IncomeType
=
4
,
IncomeType
=
9
,
OriginalType
=
4
,
Amount
=
account
.
PerforTotal
??
0
,
Items
=
new
List
<
DetailModule
>(),
...
...
@@ -1035,6 +1034,8 @@ public DeptDataDetails DeptOfficeDetail(int accountId)
deptDetails
.
Detail
.
Add
(
detail
);
if
(
basicData
==
null
||
!
basicData
.
Any
())
return
deptDetails
;
int
groupBasis
=
0
;
foreach
(
var
stype
in
sheetType
)
{
...
...
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