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
4f68ede6
Commit
4f68ede6
authored
May 26, 2021
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/无法删除科室字典部分数据' into develop
parents
3f33494a
e7227bf7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
performance/Performance.Services/PersonService.cs
+4
-2
No files found.
performance/Performance.Services/PersonService.cs
View file @
4f68ede6
...
@@ -464,8 +464,10 @@ public bool UpdateDeptDic(DeptdicResponse request)
...
@@ -464,8 +464,10 @@ public bool UpdateDeptDic(DeptdicResponse request)
/// <returns></returns>
/// <returns></returns>
public
bool
DeleteDeptDic
(
DeptdicResponse
request
)
public
bool
DeleteDeptDic
(
DeptdicResponse
request
)
{
{
var
deptdics
=
perdeptdicRepository
.
GetEntities
(
t
=>
(
t
.
HISDeptName
??
""
)
==
request
.
HISDeptName
if
(
request
==
null
)
&&
(
t
.
Department
??
""
)
==
request
.
Department
&&
t
.
HospitalId
==
request
.
HospitalId
);
throw
new
PerformanceException
(
"科室记录不存在!"
);
var
deptdics
=
perdeptdicRepository
.
GetEntities
(
t
=>
t
.
HISDeptName
==
request
.
HISDeptName
&&
t
.
Department
==
request
.
Department
&&
t
.
HospitalId
==
request
.
HospitalId
);
if
(
deptdics
==
null
||
!
deptdics
.
Any
())
if
(
deptdics
==
null
||
!
deptdics
.
Any
())
throw
new
PerformanceException
(
"科室记录不存在!"
);
throw
new
PerformanceException
(
"科室记录不存在!"
);
...
...
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