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
e5d1d461
Commit
e5d1d461
authored
Nov 29, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
强制科室二次分配实发绩效使用最新
parent
24620606
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
performance/Performance.Services/SecondAllotService.cs
+15
-4
No files found.
performance/Performance.Services/SecondAllotService.cs
View file @
e5d1d461
...
@@ -541,6 +541,15 @@ private void FillData(ag_secondallot second, List<BodyItem> bodyItems)
...
@@ -541,6 +541,15 @@ private void FillData(ag_secondallot second, List<BodyItem> bodyItems)
{
"可分配绩效"
,
second
.
RealGiveFee
.
ToString
()},
{
"可分配绩效"
,
second
.
RealGiveFee
.
ToString
()},
//{"主任基础绩效", account?.Avg?.ToString()}
//{"主任基础绩效", account?.Avg?.ToString()}
};
};
//二次绩效配置 列头数据始终用最新分配结果
foreach
(
var
item
in
keyValue
)
{
var
kfp
=
bodyItems
.
FirstOrDefault
(
w
=>
w
.
RowNumber
==
-
1
&&
w
.
FiledName
==
item
.
Key
);
if
(
kfp
!=
null
)
kfp
.
Value
=
item
.
Value
;
}
var
pairs
=
new
Dictionary
<
string
,
string
>
var
pairs
=
new
Dictionary
<
string
,
string
>
{
{
{
"职称绩效"
,
"年资职称绩效占比"
},
{
"职称绩效"
,
"年资职称绩效占比"
},
...
@@ -548,12 +557,14 @@ private void FillData(ag_secondallot second, List<BodyItem> bodyItems)
...
@@ -548,12 +557,14 @@ private void FillData(ag_secondallot second, List<BodyItem> bodyItems)
};
};
var
config
=
perforCofagainRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
second
.
AllotId
);
var
config
=
perforCofagainRepository
.
GetEntities
(
t
=>
t
.
AllotID
==
second
.
AllotId
);
if
(
config
!=
null
&&
config
.
Any
())
if
(
config
!=
null
&&
config
.
Any
())
config
.
ForEach
(
t
=>
{
foreach
(
var
item
in
config
)
{
{
var
key
=
pairs
.
ContainsKey
(
t
.
TypeName
)
?
pairs
[
t
.
TypeName
]
:
t
.
TypeName
;
var
key
=
pairs
.
ContainsKey
(
item
.
TypeName
)
?
pairs
[
item
.
TypeName
]
:
item
.
TypeName
;
if
(!
keyValue
.
Keys
.
Contains
(
key
))
if
(!
keyValue
.
Keys
.
Contains
(
key
))
keyValue
.
Add
(
key
,
t
.
Value
.
ToString
());
keyValue
.
Add
(
key
,
item
.
Value
.
ToString
());
});
}
}
foreach
(
var
item
in
keyValue
)
foreach
(
var
item
in
keyValue
)
{
{
...
...
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