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
0af1d473
Commit
0af1d473
authored
Aug 08, 2019
by
李承祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
禁用参数UseScheme
parent
4e8ad3d1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
performance/Performance.Api/Controllers/TemplateController.cs
+7
-7
performance/Performance.Services/NewExtractService.cs
+3
-3
No files found.
performance/Performance.Api/Controllers/TemplateController.cs
View file @
0af1d473
...
@@ -226,15 +226,15 @@ public ApiResponse NewExtractData([CustomizeValidator, FromBody]ExtractRequest r
...
@@ -226,15 +226,15 @@ public ApiResponse NewExtractData([CustomizeValidator, FromBody]ExtractRequest r
var
email
=
claim
.
GetUserClaim
(
JwtClaimTypes
.
Mail
);
var
email
=
claim
.
GetUserClaim
(
JwtClaimTypes
.
Mail
);
request
.
Email
=
email
;
request
.
Email
=
email
;
if
(
request
.
UseScheme
==
(
int
)
UseTemplate
.
Config
)
//
if (request.UseScheme == (int)UseTemplate.Config)
{
//
{
LogHelper
.
Information
(
"请求路径:"
+
url
.
HttpPost
+
"/extract/extract"
,
"提取绩效数据"
);
LogHelper
.
Information
(
"请求路径:"
+
url
.
HttpPost
+
"/extract/extract"
,
"提取绩效数据"
);
HttpHelper
.
HttpPostNoRequest
(
url
.
HttpPost
+
"/extract/extract"
,
JsonHelper
.
Serialize
(
request
),
true
);
HttpHelper
.
HttpPostNoRequest
(
url
.
HttpPost
+
"/extract/extract"
,
JsonHelper
.
Serialize
(
request
),
true
);
}
//
}
else
//
else
{
//
{
return
new
ApiResponse
(
ResponseType
.
Fail
,
"该功能暂未实现!"
);
//
return new ApiResponse(ResponseType.Fail, "该功能暂未实现!");
}
//
}
return
new
ApiResponse
(
ResponseType
.
Error
,
"HIS绩效数据提取任务正在执行,稍后我们将以邮件的通知您!"
);
return
new
ApiResponse
(
ResponseType
.
Error
,
"HIS绩效数据提取任务正在执行,稍后我们将以邮件的通知您!"
);
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
...
...
performance/Performance.Services/NewExtractService.cs
View file @
0af1d473
...
@@ -551,7 +551,7 @@ private void WriteExpend(ISheet sheet, int hospitalId, IPerSheetDataRead sheetRe
...
@@ -551,7 +551,7 @@ private void WriteExpend(ISheet sheet, int hospitalId, IPerSheetDataRead sheetRe
private
void
WriteEmployee
(
ISheet
sheet
,
int
allotLastId
,
IPerSheetDataRead
sheetRead
)
private
void
WriteEmployee
(
ISheet
sheet
,
int
allotLastId
,
IPerSheetDataRead
sheetRead
)
{
{
LogHelper
.
Information
(
$"填充人员信息
,
"
,
"提取绩效数据"
);
LogHelper
.
Information
(
$"填充人员信息"
,
"提取绩效数据"
);
var
dictionary
=
new
Dictionary
<
string
,
Func
<
im_employee
,
object
>>
var
dictionary
=
new
Dictionary
<
string
,
Func
<
im_employee
,
object
>>
{
{
{
"核算单元"
,
(
t
)
=>
t
.
AccountingUnit
},
{
"核算单元"
,
(
t
)
=>
t
.
AccountingUnit
},
...
@@ -591,7 +591,7 @@ private void WriteEmployee(ISheet sheet, int allotLastId, IPerSheetDataRead shee
...
@@ -591,7 +591,7 @@ private void WriteEmployee(ISheet sheet, int allotLastId, IPerSheetDataRead shee
private
void
WriteSpecialUnit
(
ISheet
sheet
,
int
hospitalId
,
per_allot
allotLast
,
IPerSheetDataRead
sheetRead
)
private
void
WriteSpecialUnit
(
ISheet
sheet
,
int
hospitalId
,
per_allot
allotLast
,
IPerSheetDataRead
sheetRead
)
{
{
LogHelper
.
Information
(
$"填充特殊核算单元绩效测算表
,
"
,
"提取绩效数据"
);
LogHelper
.
Information
(
$"填充特殊核算单元绩效测算表"
,
"提取绩效数据"
);
var
dictionary
=
new
Dictionary
<
string
,
Func
<
mod_special
,
List
<
im_specialunit
>,
object
>>
var
dictionary
=
new
Dictionary
<
string
,
Func
<
mod_special
,
List
<
im_specialunit
>,
object
>>
{
{
{
"科室"
,
(
special
,
lastAllot
)
=>
special
.
Department
},
{
"科室"
,
(
special
,
lastAllot
)
=>
special
.
Department
},
...
@@ -671,7 +671,7 @@ private void WriteSpecialUnit(ISheet sheet, int hospitalId, per_allot allotLast,
...
@@ -671,7 +671,7 @@ private void WriteSpecialUnit(ISheet sheet, int hospitalId, per_allot allotLast,
private
void
WriteAccountBasic
(
ISheet
sheet
,
int
allotLastId
,
IPerSheetDataRead
sheetRead
)
private
void
WriteAccountBasic
(
ISheet
sheet
,
int
allotLastId
,
IPerSheetDataRead
sheetRead
)
{
{
LogHelper
.
Information
(
$"填充临床科室医护绩效测算表
,
"
,
"提取绩效数据"
);
LogHelper
.
Information
(
$"填充临床科室医护绩效测算表"
,
"提取绩效数据"
);
var
dictionary
=
new
Dictionary
<
string
,
Func
<
im_accountbasic
,
object
>>
var
dictionary
=
new
Dictionary
<
string
,
Func
<
im_accountbasic
,
object
>>
{
{
{
"核算单元类型"
,
(
t
)
=>
t
.
UnitType
},
{
"核算单元类型"
,
(
t
)
=>
t
.
UnitType
},
...
...
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