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
efa6628c
Commit
efa6628c
authored
Aug 17, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
科室详情展示
parent
02aad627
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
6 deletions
+19
-6
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
+1
-1
performance/Performance.DtoModels/Response/DeptDetailResponse.cs
+1
-1
performance/Performance.EntityModels/Entity/res_specialunit.cs
+2
-2
performance/Performance.Services/AllotCompute/ProcessComputService.cs
+1
-1
performance/Performance.Services/ComputeService.cs
+14
-1
No files found.
performance/Performance.Api/wwwroot/Performance.DtoModels.xml
View file @
efa6628c
...
@@ -2358,7 +2358,7 @@
...
@@ -2358,7 +2358,7 @@
<summary>
收入项名称
</summary>
<summary>
收入项名称
</summary>
</member>
</member>
<member
name=
"P:Performance.DtoModels.DetailDtos`1.IncomeType"
>
<member
name=
"P:Performance.DtoModels.DetailDtos`1.IncomeType"
>
<summary>
1、收入 2、支出 3、工作量 4、特殊科室
</summary>
<summary>
1、收入 2、支出 3、工作量 4、特殊科室
5、科室奖罚 6、科室药占比考核 7、科室材料占比考核
</summary>
</member>
</member>
<member
name=
"P:Performance.DtoModels.DetailDtos`1.Amount"
>
<member
name=
"P:Performance.DtoModels.DetailDtos`1.Amount"
>
<summary>
金额
</summary>
<summary>
金额
</summary>
...
...
performance/Performance.DtoModels/Response/DeptDetailResponse.cs
View file @
efa6628c
...
@@ -47,7 +47,7 @@ public class DetailDtos<T>
...
@@ -47,7 +47,7 @@ public class DetailDtos<T>
/// <summary> 收入项名称 </summary>
/// <summary> 收入项名称 </summary>
public
string
ItemName
{
get
;
set
;
}
public
string
ItemName
{
get
;
set
;
}
/// <summary> 1、收入 2、支出 3、工作量 4、特殊科室 </summary>
/// <summary> 1、收入 2、支出 3、工作量 4、特殊科室
5、科室奖罚 6、科室药占比考核 7、科室材料占比考核
</summary>
public
int
IncomeType
{
get
;
set
;
}
public
int
IncomeType
{
get
;
set
;
}
/// <summary> 金额 </summary>
/// <summary> 金额 </summary>
...
...
performance/Performance.EntityModels/Entity/res_specialunit.cs
View file @
efa6628c
...
@@ -79,12 +79,12 @@ public class res_specialunit
...
@@ -79,12 +79,12 @@ public class res_specialunit
/// <summary>
/// <summary>
/// 药占比奖罚
/// 药占比奖罚
/// </summary>
/// </summary>
public
decimal
MedicineExtra
{
get
;
set
;
}
public
Nullable
<
decimal
>
MedicineExtra
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 材料占比奖罚
/// 材料占比奖罚
/// </summary>
/// </summary>
public
decimal
MaterialsExtra
{
get
;
set
;
}
public
Nullable
<
decimal
>
MaterialsExtra
{
get
;
set
;
}
/// <summary>
/// <summary>
/// 调节系数
/// 调节系数
...
...
performance/Performance.Services/AllotCompute/ProcessComputService.cs
View file @
efa6628c
...
@@ -282,7 +282,7 @@ public void Save(List<PerSheet> perSheets, int allotId)
...
@@ -282,7 +282,7 @@ public void Save(List<PerSheet> perSheets, int allotId)
workDoctor
=
info
.
Data
.
FirstOrDefault
(
t
=>
t
.
AccountingUnit
==
dept
.
AccountingUnit
);
workDoctor
=
info
.
Data
.
FirstOrDefault
(
t
=>
t
.
AccountingUnit
==
dept
.
AccountingUnit
);
}
}
if
(
UnitType
.
医技组
==
unitType
&&
workDoctor
==
null
)
if
(
UnitType
.
医技组
==
unitType
&&
workDoctor
==
null
)
workDoctor
=
info
.
Data
.
FirstOrDefault
(
t
=>
t
.
UnitType
==
UnitType
.
医生组
.
ToString
());
workDoctor
=
info
.
Data
.
FirstOrDefault
(
t
=>
t
.
UnitType
==
UnitType
.
医生组
.
ToString
()
&&
t
.
AccountingUnit
==
dept
.
AccountingUnit
);
dept
.
MedicineFactor
=
workDoctor
?.
MedicineFactor
;
dept
.
MedicineFactor
=
workDoctor
?.
MedicineFactor
;
dept
.
ScoringAverage
=
dept
.
ScoringAverage
==
0
m
?
1
:
dept
.
ScoringAverage
;
dept
.
ScoringAverage
=
dept
.
ScoringAverage
==
0
m
?
1
:
dept
.
ScoringAverage
;
...
...
performance/Performance.Services/ComputeService.cs
View file @
efa6628c
...
@@ -569,7 +569,10 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
...
@@ -569,7 +569,10 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
int
groupbasis
=
1
;
int
groupbasis
=
1
;
string
single
=
""
;
string
single
=
""
;
var
sheetType
=
new
List
<
int
>
{
(
int
)
SheetType
.
Income
,
(
int
)
SheetType
.
OtherIncome
,
(
int
)
SheetType
.
Expend
,
(
int
)
SheetType
.
Workload
,
(
int
)
SheetType
.
AccountExtra
};
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
};
foreach
(
var
stype
in
sheetType
)
foreach
(
var
stype
in
sheetType
)
{
{
if
(
type
==
3
&&
stype
==
(
int
)
SheetType
.
Workload
)
type
=
1
;
if
(
type
==
3
&&
stype
==
(
int
)
SheetType
.
Workload
)
type
=
1
;
...
@@ -602,6 +605,16 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
...
@@ -602,6 +605,16 @@ public DeptDataDetails<DetailModuleExtend> DeptDetail(int accountId)
sheettype
=
5
;
sheettype
=
5
;
amount
=
sheetData
.
Sum
(
t
=>
t
.
CellValue
??
0
m
);
amount
=
sheetData
.
Sum
(
t
=>
t
.
CellValue
??
0
m
);
}
}
else
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
AccountDrugAssess
)
{
sheettype
=
6
;
amount
=
sheetData
.
Sum
(
t
=>
t
.
CellValue
??
0
m
);
}
else
if
(
sheet
.
SheetType
==
(
int
)
SheetType
.
AccountMaterialsAssess
)
{
sheettype
=
7
;
amount
=
sheetData
.
Sum
(
t
=>
t
.
CellValue
??
0
m
);
}
var
item
=
new
DetailDtos
var
item
=
new
DetailDtos
{
{
...
...
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