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
5f741298
Commit
5f741298
authored
Jul 16, 2020
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
岗位 绩效总额值带出
parent
beaacc6a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
performance/Performance.Services/SecondAllotService.cs
+5
-5
No files found.
performance/Performance.Services/SecondAllotService.cs
View file @
5f741298
...
...
@@ -347,8 +347,8 @@ private List<BodyItem> GetEmployees(int allotId, int userId, List<HeadItem> head
Dictionary
<(
string
,
string
),
Func
<
per_employee
,
object
>>
dict
=
new
Dictionary
<(
string
,
string
),
Func
<
per_employee
,
object
>>
{
{
(
"姓名"
,
"FullName"
),
(
t
)
=>
t
.
DoctorName
},
{
(
"岗位"
,
"Post"
),
(
t
)
=>
t
.
JobTitle
},
{
(
"
实际
出勤"
,
"ActualAttendance"
),
(
t
)
=>
t
.
AttendanceDay
},
{
(
"岗位"
,
"Post"
),
(
t
)
=>
!
string
.
IsNullOrEmpty
(
t
.
Duty
)
&&
(
t
.
Duty
.
IndexOf
(
"主任"
)
>
-
1
||
t
.
Duty
.
IndexOf
(
"护士长"
)
>
-
1
)
?
"主任"
:
"其他"
},
{
(
"出勤"
,
"ActualAttendance"
),
(
t
)
=>
t
.
AttendanceDay
},
};
int
rowNumber
=
1
;
...
...
@@ -360,7 +360,7 @@ private List<BodyItem> GetEmployees(int allotId, int userId, List<HeadItem> head
if
(
head
!=
null
)
{
var
body
=
Mapper
.
Map
<
BodyItem
>(
head
);
body
.
Value
=
item
.
Value
.
Invoke
(
employee
).
ToString
();
body
.
Value
=
item
.
Value
.
Invoke
(
employee
)
?
.
ToString
();
body
.
RowNumber
=
rowNumber
;
list
.
Add
(
body
);
}
...
...
@@ -467,8 +467,8 @@ private void FillData(ag_secondallot second, List<BodyItem> bodyItems)
var
keyValue
=
new
Dictionary
<
string
,
string
>
{
{
"发放月份"
,
$"
{
second
.
Year
}
年
{
second
.
Month
.
ToString
().
PadLeft
(
2
,
'0'
)}
月"
},
{
"
绩效合计(考核后)
"
,
second
.
RealGiveFee
.
ToString
()},
{
"主任基础绩效"
,
account
?.
Avg
?.
ToString
()}
{
"
可分配绩效
"
,
second
.
RealGiveFee
.
ToString
()},
//
{"主任基础绩效", account?.Avg?.ToString()}
};
var
pairs
=
new
Dictionary
<
string
,
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