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
cd62004f
Commit
cd62004f
authored
May 14, 2019
by
李承祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
对数据提取进行判断,是否含有ExecuteScript
parent
b170715b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
performance/Performance.Services/ExtractService.cs
+5
-1
No files found.
performance/Performance.Services/ExtractService.cs
View file @
cd62004f
...
...
@@ -64,14 +64,18 @@ public string ExtractData(int hospitalId)
var
allotList
=
perforPerallotRepository
.
GetEntities
(
t
=>
t
.
HospitalId
==
hospitalId
);
var
configList
=
perforHospitalconfigRepository
.
GetEntities
(
t
=>
t
.
HospitalId
==
hospitalId
);
var
firstList
=
perforPerfirstRepository
.
GetEntities
(
t
=>
t
.
HospitalId
==
hospitalId
);
var
scriptList
=
perforExtractRepository
.
GetEntities
(
t
=>
t
.
HospitalId
==
hospitalId
);
if
(
configList
==
null
||
!
configList
.
Any
())
throw
new
PerformanceException
(
$"暂不支持自动提取绩效数据"
);
if
(
scriptList
==
null
||
!
scriptList
.
Any
())
throw
new
PerformanceException
(
$"暂无该医院的配置信息和执行sql,无法进行数据提取"
);
var
hospitalConfig
=
configList
.
First
();
string
originalPath
=
""
;
//判断是否是首次
if
((
allotList
==
null
||
!
allotList
.
Any
())
&&
firstList
!=
null
)
if
((
allotList
==
null
||
!
allotList
.
Any
())
&&
(
firstList
!=
null
||
!
firstList
.
Any
())
)
{
var
first
=
firstList
.
OrderByDescending
(
t
=>
t
.
CreateDate
).
FirstOrDefault
();
//首次 从excel中获取人员信息,SHEET页信息,列头信息
...
...
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