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
17cb0ca0
Commit
17cb0ca0
authored
May 31, 2022
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
科室字典显示问题
parent
7ca51ded
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
23 deletions
+18
-23
performance/Performance.DtoModels/Response/DeptdicResponse.cs
+8
-8
performance/Performance.Services/ExtractExcelService/ExtractService.cs
+7
-7
performance/Performance.Services/PersonService.cs
+3
-8
No files found.
performance/Performance.DtoModels/Response/DeptdicResponse.cs
View file @
17cb0ca0
...
...
@@ -9,14 +9,14 @@ public class DeptdicResponse
public
int
HospitalId
{
get
;
set
;
}
public
string
HISDeptName
{
get
;
set
;
}
public
string
Department
{
get
;
set
;
}
public
string
OutDoctorAccounting
{
get
;
set
;
}
public
string
OutNurseAccounting
{
get
;
set
;
}
public
string
OutTechnicAccounting
{
get
;
set
;
}
public
string
InpatDoctorAccounting
{
get
;
set
;
}
public
string
InpatNurseAccounting
{
get
;
set
;
}
public
string
InpatTechnicAccounting
{
get
;
set
;
}
public
string
LogisticsAccounting
{
get
;
set
;
}
public
string
SpecialAccounting
{
get
;
set
;
}
public
Deptdic
OutDoctorAccounting
{
get
;
set
;
}
public
Deptdic
OutNurseAccounting
{
get
;
set
;
}
public
Deptdic
OutTechnicAccounting
{
get
;
set
;
}
public
Deptdic
InpatDoctorAccounting
{
get
;
set
;
}
public
Deptdic
InpatNurseAccounting
{
get
;
set
;
}
public
Deptdic
InpatTechnicAccounting
{
get
;
set
;
}
public
Deptdic
LogisticsAccounting
{
get
;
set
;
}
public
Deptdic
SpecialAccounting
{
get
;
set
;
}
public
DateTime
?
CreateTime
{
get
;
set
;
}
public
int
IsVerify
{
get
;
set
;
}
}
...
...
performance/Performance.Services/ExtractExcelService/ExtractService.cs
View file @
17cb0ca0
...
...
@@ -320,13 +320,13 @@ private List<ExtractTransDto> StandDataFormat(int hospitalId, List<ex_result> re
DoctorName
=
t
.
outer
.
DoctorName
,
PersonnelNumber
=
t
.
outer
.
PersonnelNumber
,
Value
=
t
.
outer
.
Fee
??
0
,
OutDoctorAccounting
=
t
.
inner
.
FirstOrDefault
(
f
=>
f
.
Department
==
dept
)?.
OutDoctorAccounting
,
OutNurseAccounting
=
t
.
inner
.
FirstOrDefault
(
f
=>
f
.
Department
==
dept
)?.
OutNurseAccounting
,
OutTechnicAccounting
=
t
.
inner
.
FirstOrDefault
(
f
=>
f
.
Department
==
dept
)?.
OutTechnicAccounting
,
InpatDoctorAccounting
=
t
.
inner
.
FirstOrDefault
(
f
=>
f
.
Department
==
dept
)?.
InpatDoctorAccounting
,
InpatNurseAccounting
=
t
.
inner
.
FirstOrDefault
(
f
=>
f
.
Department
==
dept
)?.
InpatNurseAccounting
,
InpatTechnicAccounting
=
t
.
inner
.
FirstOrDefault
(
f
=>
f
.
Department
==
dept
)?.
InpatTechnicAccounting
,
SpecialAccounting
=
t
.
inner
.
FirstOrDefault
(
f
=>
f
.
Department
==
dept
)?.
SpecialAccounting
??
dept
,
OutDoctorAccounting
=
t
.
inner
.
FirstOrDefault
(
f
=>
f
.
Department
==
dept
)?.
OutDoctorAccounting
?.
AccountingUnit
,
OutNurseAccounting
=
t
.
inner
.
FirstOrDefault
(
f
=>
f
.
Department
==
dept
)?.
OutNurseAccounting
?.
AccountingUnit
,
OutTechnicAccounting
=
t
.
inner
.
FirstOrDefault
(
f
=>
f
.
Department
==
dept
)?.
OutTechnicAccounting
?.
AccountingUnit
,
InpatDoctorAccounting
=
t
.
inner
.
FirstOrDefault
(
f
=>
f
.
Department
==
dept
)?.
InpatDoctorAccounting
?.
AccountingUnit
,
InpatNurseAccounting
=
t
.
inner
.
FirstOrDefault
(
f
=>
f
.
Department
==
dept
)?.
InpatNurseAccounting
?.
AccountingUnit
,
InpatTechnicAccounting
=
t
.
inner
.
FirstOrDefault
(
f
=>
f
.
Department
==
dept
)?.
InpatTechnicAccounting
?.
AccountingUnit
,
SpecialAccounting
=
t
.
inner
.
FirstOrDefault
(
f
=>
f
.
Department
==
dept
)?.
SpecialAccounting
?.
AccountingUnit
??
dept
,
EName
=
types
.
FirstOrDefault
(
w
=>
w
.
Id
==
t
.
outer
.
TypeId
)?.
EName
,
};
});
...
...
performance/Performance.Services/PersonService.cs
View file @
17cb0ca0
...
...
@@ -426,18 +426,13 @@ public IEnumerable<DeptdicResponse> GetDepartments(int hospitalId)
var
depts
=
perdeptdicRepository
.
GetEntities
(
t
=>
t
.
HospitalId
==
hospitalId
);
if
(
depts
==
null
||
!
depts
.
Any
())
return
null
;
string
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
=
""
)
{
if
(
hISDeptName
==
"介入室"
)
{
}
var
dic
=
dics
.
FirstOrDefault
(
group
=>
group
.
Department
==
department
&&
group
.
HISDeptName
==
hISDeptName
&&
group
.
UnitType
==
unitType
.
ToString
()
&&
group
.
Source
==
source
);
if
(
dic
==
null
)
dic
=
dics
.
FirstOrDefault
(
group
=>
group
.
Department
==
department
&&
group
.
HISDeptName
==
hISDeptName
&&
group
.
UnitType
==
unitType
.
ToString
());
return
dic
?.
AccountingUnit
;
if
(
dic
==
null
)
return
new
Deptdic
()
{
IsVerify
=
1
};
return
new
Deptdic
{
Id
=
dic
.
Id
,
AccountingUnit
=
dic
.
AccountingUnit
,
IsVerify
=
dic
.
IsVerify
??
1
,
VerifyMessage
=
dic
.
VerifyMessage
,
}
;
}
var
result
=
depts
...
...
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