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
4f090183
Commit
4f090183
authored
Oct 22, 2020
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二次绩效是否带出主任
parent
e94b28f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
performance/Performance.EntityModels/Entity/sys_hospital.cs
+5
-0
performance/Performance.Services/SecondAllotService.cs
+6
-0
No files found.
performance/Performance.EntityModels/Entity/sys_hospital.cs
View file @
4f090183
...
...
@@ -95,5 +95,10 @@ public class sys_hospital
/// 是否开启护理部审核 1 启用 2 禁用
/// </summary>
public
Nullable
<
int
>
IsOpenNursingDeptAudit
{
get
;
set
;
}
/// <summary>
/// 是否显示二次绩效科主任1 启用 2 禁用
/// </summary>
public
Nullable
<
int
>
IsShowSecondDirector
{
get
;
set
;
}
}
}
performance/Performance.Services/SecondAllotService.cs
View file @
4f090183
...
...
@@ -372,6 +372,9 @@ private List<BodyItem> GetEmployees(List<per_employee> employees, int allotId, i
//var employees = personService.GetPersons(allotId, userId);
if
(
employees
==
null
||
!
employees
.
Any
(
t
=>
t
.
UnitType
==
unittype
))
return
list
;
var
hospital
=
hospitalRepository
.
GetEntity
(
t
=>
t
.
ID
==
employees
.
First
().
HospitalId
);
if
(
hospital
==
null
)
return
list
;
if
(
string
.
IsNullOrEmpty
(
empName
)
&&
string
.
IsNullOrEmpty
(
jobNumber
))
employees
=
employees
.
Where
(
t
=>
t
.
UnitType
==
unittype
).
ToList
();
...
...
@@ -413,6 +416,9 @@ private List<BodyItem> GetEmployees(List<per_employee> employees, int allotId, i
rowNumber
++;
}
if
(
hospital
.
IsShowSecondDirector
==
2
)
list
=
list
.
Where
(
t
=>
t
.
FiledName
==
"岗位"
&&
t
.
FiledId
==
"Post"
&&
t
.
Value
==
"其他"
)?.
ToList
();
return
list
;
}
...
...
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