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
45b72bd5
Commit
45b72bd5
authored
Nov 11, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
可空允许
parent
4f0bee3d
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
performance/Performance.Api/wwwroot/Performance.Api.xml
+2
-2
performance/Performance.Services/AllotCompute/BaiscNormService.cs
+9
-9
performance/Performance.Services/PerExcelService/ComputeEmpolyee/ComputeDirector.cs
+1
-0
No files found.
performance/Performance.Api/wwwroot/Performance.Api.xml
View file @
45b72bd5
...
@@ -701,14 +701,14 @@
...
@@ -701,14 +701,14 @@
</member>
</member>
<member
name=
"M:Performance.Api.Controllers.EmployeeController.GetAprGroupList(Performance.EntityModels.per_apr_amount)"
>
<member
name=
"M:Performance.Api.Controllers.EmployeeController.GetAprGroupList(Performance.EntityModels.per_apr_amount)"
>
<summary>
<summary>
获取人员补充绩效列表
医院其他绩效审核
</summary>
</summary>
<param
name=
"request"
></param>
<param
name=
"request"
></param>
<returns></returns>
<returns></returns>
</member>
</member>
<member
name=
"M:Performance.Api.Controllers.EmployeeController.GetAprDetail(Performance.EntityModels.per_apr_amount)"
>
<member
name=
"M:Performance.Api.Controllers.EmployeeController.GetAprDetail(Performance.EntityModels.per_apr_amount)"
>
<summary>
<summary>
获取人员补充绩效列表
医院其他绩效审核详情
</summary>
</summary>
<param
name=
"request"
></param>
<param
name=
"request"
></param>
<returns></returns>
<returns></returns>
...
...
performance/Performance.Services/AllotCompute/BaiscNormService.cs
View file @
45b72bd5
...
@@ -31,7 +31,7 @@ public List<res_baiscnorm> ComputeAvg(List<res_baiscnorm> baiscnormList, List<Co
...
@@ -31,7 +31,7 @@ public List<res_baiscnorm> ComputeAvg(List<res_baiscnorm> baiscnormList, List<Co
foreach
(
var
item
in
keyList
)
foreach
(
var
item
in
keyList
)
{
{
var
count
=
computeEmployees
?.
Where
(
t
=>
t
.
UnitType
==
item
.
UnitType
.
ToString
()).
Sum
(
t
=>
t
.
Basics
)
??
0
;
var
count
=
computeEmployees
?.
Where
(
t
=>
t
.
UnitType
==
item
.
UnitType
.
ToString
()).
Sum
(
t
=>
t
.
Basics
)
??
0
;
var
dataList
=
computes
.
Where
(
t
=>
t
.
UnitType
==
item
.
UnitType
.
ToString
());
var
dataList
=
computes
?
.
Where
(
t
=>
t
.
UnitType
==
item
.
UnitType
.
ToString
());
var
baiscnorm
=
new
res_baiscnorm
var
baiscnorm
=
new
res_baiscnorm
{
{
PositionName
=
EnumHelper
.
GetDescription
(
item
.
Reference
),
PositionName
=
EnumHelper
.
GetDescription
(
item
.
Reference
),
...
@@ -59,16 +59,16 @@ public List<res_baiscnorm> ComputeOtherAvg(List<res_baiscnorm> baiscnormList, Li
...
@@ -59,16 +59,16 @@ public List<res_baiscnorm> ComputeOtherAvg(List<res_baiscnorm> baiscnormList, Li
foreach
(
var
item
in
keyList
)
foreach
(
var
item
in
keyList
)
{
{
var
count
=
empolyeeList
.
Count
(
t
=>
t
.
AccountType
==
item
.
type
.
ToString
())
;
var
count
=
empolyeeList
?.
Count
(
t
=>
t
.
AccountType
==
item
.
type
.
ToString
())??
0
;
if
(
count
>
0
)
if
(
count
>
0
)
{
{
var
dataList
=
computes
.
Where
(
t
=>
t
.
AccountType
==
item
.
type
.
ToString
());
var
dataList
=
computes
?
.
Where
(
t
=>
t
.
AccountType
==
item
.
type
.
ToString
());
var
baiscnorm
=
new
res_baiscnorm
var
baiscnorm
=
new
res_baiscnorm
{
{
PositionName
=
EnumHelper
.
GetDescription
(
item
.
reference
),
PositionName
=
EnumHelper
.
GetDescription
(
item
.
reference
),
TotelNumber
=
count
,
TotelNumber
=
count
,
TotelValue
=
count
==
0
?
0
:
dataList
.
Sum
(
t
=>
t
.
GiveFee
),
TotelValue
=
count
==
0
?
0
:
dataList
?
.
Sum
(
t
=>
t
.
GiveFee
),
AvgValue
=
Math
.
Round
((
dataList
.
Sum
(
t
=>
t
.
GiveFee
)
/
count
)
??
0
)
AvgValue
=
Math
.
Round
((
dataList
?
.
Sum
(
t
=>
t
.
GiveFee
)
/
count
)
??
0
)
};
};
baiscnormList
.
Add
(
baiscnorm
);
baiscnormList
.
Add
(
baiscnorm
);
}
}
...
@@ -92,16 +92,16 @@ public List<res_baiscnorm> ComputeOtherAvg(List<res_baiscnorm> baiscnormList, Li
...
@@ -92,16 +92,16 @@ public List<res_baiscnorm> ComputeOtherAvg(List<res_baiscnorm> baiscnormList, Li
foreach
(
var
item
in
keyList
)
foreach
(
var
item
in
keyList
)
{
{
var
count
=
empolyeeList
.
Count
(
t
=>
t
.
AccountType
==
item
.
type
.
ToString
())
;
var
count
=
empolyeeList
?.
Count
(
t
=>
t
.
AccountType
==
item
.
type
.
ToString
())
??
0
;
if
(
count
>
0
)
if
(
count
>
0
)
{
{
var
dataList
=
computes
.
Where
(
t
=>
t
.
AccountType
==
item
.
type
.
ToString
());
var
dataList
=
computes
?
.
Where
(
t
=>
t
.
AccountType
==
item
.
type
.
ToString
());
var
baiscnorm
=
new
res_baiscnorm
var
baiscnorm
=
new
res_baiscnorm
{
{
PositionName
=
EnumHelper
.
GetDescription
(
item
.
reference
),
PositionName
=
EnumHelper
.
GetDescription
(
item
.
reference
),
TotelNumber
=
count
,
TotelNumber
=
count
,
TotelValue
=
dataList
.
Sum
(
t
=>
t
.
GiveFee
),
TotelValue
=
dataList
?
.
Sum
(
t
=>
t
.
GiveFee
),
AvgValue
=
count
==
0
?
0
:
Math
.
Round
((
dataList
.
Sum
(
t
=>
t
.
GiveFee
)
/
count
)
??
0
)
AvgValue
=
count
==
0
?
0
:
Math
.
Round
((
dataList
?
.
Sum
(
t
=>
t
.
GiveFee
)
/
count
)
??
0
)
};
};
baiscnormList
.
Add
(
baiscnorm
);
baiscnormList
.
Add
(
baiscnorm
);
}
}
...
...
performance/Performance.Services/PerExcelService/ComputeEmpolyee/ComputeDirector.cs
View file @
45b72bd5
...
@@ -448,6 +448,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, per_allot
...
@@ -448,6 +448,7 @@ public List<ComputeResult> Compute(List<ComputeEmployee> empolyeeList, per_allot
//var workyearList = perforCofworkyearRepository.GetEntities(t => t.AllotID == allot.ID);
//var workyearList = perforCofworkyearRepository.GetEntities(t => t.AllotID == allot.ID);
List
<
ComputeResult
>
computeList
=
new
List
<
ComputeResult
>();
List
<
ComputeResult
>
computeList
=
new
List
<
ComputeResult
>();
if
(
empolyeeList
==
null
)
return
computeList
;
List
<
string
>
involves
=
new
List
<
string
>
List
<
string
>
involves
=
new
List
<
string
>
{
{
...
...
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