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
54ca9ffb
Commit
54ca9ffb
authored
Jun 01, 2021
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/医院其他绩效大改' into develop
parents
c21b1c42
80d9424a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
32 additions
and
2 deletions
+32
-2
performance/Performance.Api/Template/医院人员绩效模板.xlsx
+0
-0
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+10
-0
performance/Performance.EntityModels/Other/view_per_apr_amount.cs
+20
-0
performance/Performance.Services/ComputeService.cs
+0
-0
performance/Performance.Services/EmployeeService.cs
+2
-2
No files found.
performance/Performance.Api/Template/医院人员绩效模板.xlsx
View file @
54ca9ffb
No preview for this file type
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
54ca9ffb
...
...
@@ -7341,5 +7341,15 @@
核算单元
</summary>
</member>
<member
name=
"P:Performance.EntityModels.view_per_total_amount.UnitType"
>
<summary>
核算单元组别
</summary>
</member>
<member
name=
"P:Performance.EntityModels.view_per_total_amount.AccountingUnit"
>
<summary>
核算单元
</summary>
</member>
</members>
</doc>
performance/Performance.EntityModels/Other/view_per_apr_amount.cs
View file @
54ca9ffb
...
...
@@ -11,4 +11,24 @@ public class view_per_apr_amount : per_apr_amount
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
}
public
class
view_per_total_amount
{
/// <summary>
/// 核算单元组别
/// </summary>
public
string
UnitType
{
get
;
set
;
}
/// <summary>
/// 核算单元
/// </summary>
public
string
AccountingUnit
{
get
;
set
;
}
public
string
PersonnelNumber
{
get
;
set
;
}
/// <summary>
/// 医院其他绩效
/// </summary>
public
decimal
Amount
{
get
;
set
;
}
/// <summary>
/// 是否被使用 默认false
/// </summary>
public
bool
Use
{
get
;
set
;
}
}
}
performance/Performance.Services/ComputeService.cs
View file @
54ca9ffb
This diff is collapsed.
Click to expand it.
performance/Performance.Services/EmployeeService.cs
View file @
54ca9ffb
...
...
@@ -744,11 +744,11 @@ public List<TitleValue> GetPerforTypeDict(int allotId)
foreach
(
var
type
in
perForType
)
{
var
emp
=
aprAmountList
.
Where
(
t
=>
t
.
PerforType
==
type
&&
t
.
PersonnelNumber
==
num
);
dicData
.
Add
(
type
,
Math
.
Round
(
emp
?.
Sum
(
c
=>
c
.
Amount
)
??
0
).
ToString
());
dicData
.
Add
(
type
,
Math
.
Round
(
emp
?.
Sum
(
c
=>
c
.
Amount
)
??
0
,
2
).
ToString
());
}
var
sum
=
aprAmountList
.
Where
(
c
=>
c
.
PersonnelNumber
==
num
)?.
Sum
(
t
=>
t
.
Amount
);
dicData
.
Add
(
"合计"
,
Math
.
Round
(
sum
??
0
,
0
).
ToString
());
dicData
.
Add
(
"合计"
,
Math
.
Round
(
sum
??
0
,
2
).
ToString
());
others
.
Add
(
dicData
);
}
...
...
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