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
34a16fa9
Commit
34a16fa9
authored
Jul 01, 2021
by
钟博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改正科室字典过滤字段为HISDeptName
parent
0f1f0e75
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
performance/Performance.Services/PersonService.cs
+4
-4
No files found.
performance/Performance.Services/PersonService.cs
View file @
34a16fa9
...
...
@@ -769,16 +769,16 @@ public void SaveDeptDicHands(int HospitalId, SaveCollectData request)
var
data
=
JsonHelper
.
Deserialize
<
DeptdicHands
>(
json
);
if
(
depts
!=
null
)
if
(
depts
.
Any
(
t
=>
t
.
Department
?.
Trim
()
==
data
.
Department
?.
Trim
()))
delDepartment
.
Add
(
data
.
Department
);
var
any
=
deptDics
.
Any
(
w
=>
w
.
Department
?.
Trim
()
==
data
.
Department
?.
Trim
());
if
(
depts
.
Any
(
t
=>
t
.
HISDeptName
?.
Trim
()
==
data
.
HISDeptName
?.
Trim
()))
delDepartment
.
Add
(
data
.
HISDeptName
);
var
any
=
deptDics
.
Any
(
w
=>
w
.
HISDeptName
?.
Trim
()
==
data
.
HISDeptName
?.
Trim
());
if
(!
string
.
IsNullOrEmpty
(
data
.
Department
?.
Trim
())
&&
!
any
)
if
(!
string
.
IsNullOrEmpty
(
data
.
HISDeptName
?.
Trim
())
&&
!
any
)
{
DeptDicList
(
HospitalId
,
deptDics
,
data
);
}
}
var
delDept
=
deptDic
.
Where
(
t
=>
delDepartment
.
Contains
(
t
.
Department
)).
ToArray
();
var
delDept
=
deptDic
.
Where
(
t
=>
delDepartment
.
Contains
(
t
.
HISDeptName
)).
ToArray
();
perdeptdicRepository
.
RemoveRange
(
delDept
);
if
(
deptDics
.
Any
())
perdeptdicRepository
.
AddRange
(
deptDics
.
ToArray
());
...
...
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