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
b6f180f4
Commit
b6f180f4
authored
Sep 22, 2022
by
Licx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
科室字典修改行政、特殊科室
parent
a0bd3be4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
+3
-1
performance/Performance.Services/DapperService.cs
+3
-1
No files found.
performance/Performance.Services/DapperService.cs
View file @
b6f180f4
...
@@ -207,7 +207,9 @@ public IEnumerable<DeptdicResponse> GetDepartments(int allotId)
...
@@ -207,7 +207,9 @@ public IEnumerable<DeptdicResponse> GetDepartments(int allotId)
Deptdic
GetDeptdic
(
List
<
per_dept_dic
>
dics
,
string
department
,
string
hISDeptName
,
UnitType
unitType
,
string
source
=
""
)
Deptdic
GetDeptdic
(
List
<
per_dept_dic
>
dics
,
string
department
,
string
hISDeptName
,
UnitType
unitType
,
string
source
=
""
)
{
{
var
dic
=
dics
.
FirstOrDefault
(
group
=>
group
.
Department
==
department
&&
group
.
HISDeptName
==
hISDeptName
&&
group
.
UnitType
==
unitType
.
ToString
()
&&
group
.
Source
==
source
);
var
dic
=
dics
.
FirstOrDefault
(
group
=>
group
.
Department
==
department
&&
group
.
HISDeptName
==
hISDeptName
&&
UnitTypeUtil
.
IsEqualsUnitType
(
group
.
UnitType
,
unitType
.
ToString
())
&&
(
group
.
Source
??
""
)
==
source
);
//if (dic == null)
//if (dic == null)
// dic = dics.FirstOrDefault(group => group.Department == department && group.HISDeptName == hISDeptName && group.UnitType == unitType.ToString());
// dic = dics.FirstOrDefault(group => group.Department == department && group.HISDeptName == hISDeptName && group.UnitType == unitType.ToString());
if
(
dic
==
null
)
return
new
Deptdic
()
{
IsVerify
=
1
};
if
(
dic
==
null
)
return
new
Deptdic
()
{
IsVerify
=
1
};
...
...
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