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
86a64175
Commit
86a64175
authored
May 31, 2019
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
绩效数据调整
parent
2e468456
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
performance/Performance.Api/Controllers/TemplateController.cs
+2
-2
performance/Performance.Repository/PerforExtractRepository.cs
+1
-1
performance/Performance.Services/ExtractService.cs
+0
-0
No files found.
performance/Performance.Api/Controllers/TemplateController.cs
View file @
86a64175
...
...
@@ -115,8 +115,8 @@ public ApiResponse ExtractData([CustomizeValidator(RuleSet = "Template"), FromBo
return
new
ApiResponse
(
ResponseType
.
Fail
,
"医院无效"
);
var
user
=
claim
.
At
(
request
.
Token
);
//
extractService.ExtractData(request.ID, user.Mail, hospital);
BackgroundJob
.
Enqueue
(()
=>
extractService
.
ExtractData
(
request
.
ID
,
user
.
Mail
,
hospital
));
extractService
.
ExtractData
(
request
.
ID
,
user
.
Mail
,
hospital
);
//
BackgroundJob.Enqueue(() => extractService.ExtractData(request.ID, user.Mail, hospital));
return
new
ApiResponse
(
ResponseType
.
OK
,
"HIS绩效数据提取任务正在执行,稍后我们将以邮件的通知您!"
);
}
}
...
...
performance/Performance.Repository/PerforExtractRepository.cs
View file @
86a64175
...
...
@@ -22,7 +22,7 @@ public List<CustomExecute> ExecuteScript(IDbConnection connection, string sql, s
List
<
CustomExecute
>
result
=
new
List
<
CustomExecute
>();
using
(
connection
)
{
var
dataReader
=
connection
.
ExecuteReader
(
sql
,
param
);
var
dataReader
=
connection
.
ExecuteReader
(
sql
,
param
,
commandTimeout
:
1000
*
3600
*
24
);
int
row
=
0
;
while
(
dataReader
.
Read
())
{
...
...
performance/Performance.Services/ExtractService.cs
View file @
86a64175
This diff is collapsed.
Click to expand it.
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