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
149fefaa
Commit
149fefaa
authored
Sep 01, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/v2020calculate' into v2020calculate
parents
93352f7c
e768e2fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
9 deletions
+27
-9
performance/Performance.DtoModels/Request/DeptDetailRequest.cs
+5
-0
performance/Performance.Services/ComputeService.cs
+22
-9
No files found.
performance/Performance.DtoModels/Request/DeptDetailRequest.cs
View file @
149fefaa
...
...
@@ -29,6 +29,11 @@ public class DeptDetailRequest
/// 汇总ID
/// </summary>
public
int
AccountID
{
get
;
set
;
}
/// <summary>
/// 核算单元类型
/// </summary>
public
int
UnitType
{
get
;
set
;
}
}
public
class
DetailRequestValidator
:
AbstractValidator
<
DeptDetailRequest
>
{
...
...
performance/Performance.Services/ComputeService.cs
View file @
149fefaa
...
...
@@ -798,15 +798,15 @@ public DeptDataDetails SpecialDeptDetail(ag_secondallot second)
UnitType
=
second
.
UnitType
,
AccountingUnit
=
second
.
Department
,
//Department = second.Department,
ScoringAverage
=
special
.
First
().
ScoringAverage
.
Value
,
OtherPerfor1
=
special
.
First
().
OtherPerfor
.
Value
,
AdjustFactor
=
special
.
First
().
Adjust
.
Value
,
Avg
=
special
.
First
()
.
Avg
,
RealGiveFee
=
special
.
First
()
.
RealGiveFee
,
Number
=
special
.
First
().
Number
.
Value
,
PerforFee
=
special
.
First
()
.
GiveFee
,
PerforTotal
=
special
.
First
()
.
ResultsTotalFee
,
Income
=
special
.
First
()
.
ResultsTotalFee
,
ScoringAverage
=
special
.
First
OrDefault
()?.
ScoringAverage
??
0
,
OtherPerfor1
=
special
.
First
OrDefault
()?.
OtherPerfor
??
0
,
AdjustFactor
=
special
.
First
OrDefault
()?.
Adjust
??
0
,
Avg
=
special
.
First
OrDefault
()?
.
Avg
,
RealGiveFee
=
special
.
First
OrDefault
()?
.
RealGiveFee
,
Number
=
special
.
First
OrDefault
()?.
Number
??
0
,
PerforFee
=
special
.
First
OrDefault
()?
.
GiveFee
,
PerforTotal
=
special
.
First
OrDefault
()?
.
ResultsTotalFee
,
Income
=
special
.
First
OrDefault
()?
.
ResultsTotalFee
,
//Extra = special.First().Punishment.Value,
},
Detail
=
new
List
<
DetailDtos
>(),
...
...
@@ -849,6 +849,19 @@ public ag_secondallot GetAccountId(int secondId, out int accountId)
return
second
;
}
public
ag_secondallot
GetSecondByAccountId
(
int
accountId
)
{
var
special
=
_perforResspecialunitRepository
.
GetEntity
(
t
=>
t
.
ID
==
accountId
);
if
(
special
==
null
)
throw
new
PerformanceException
(
"科室信息错误"
);
return
new
ag_secondallot
{
AllotId
=
special
.
AllotID
,
Department
=
special
.
AccountingUnit
,
UnitType
=
UnitType
.
特殊核算组
.
ToString
()
};
}
/// <summary>
/// 添加额外绩效金额(基础绩效、其他绩效等)
/// </summary>
...
...
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