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
fc9614b8
Commit
fc9614b8
authored
Aug 06, 2019
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
131e00f0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
performance/Performance.Api/Controllers/TemplateController.cs
+15
-0
performance/Performance.Services/NewExtractService.cs
+1
-1
performance/Performance.Services/PerExcelService/SheetDataCompute/PerSheetDataComputeWorkload.cs
+1
-1
No files found.
performance/Performance.Api/Controllers/TemplateController.cs
View file @
fc9614b8
...
@@ -194,6 +194,21 @@ public ApiResponse ExtractData([CustomizeValidator(RuleSet = "Template"), FromBo
...
@@ -194,6 +194,21 @@ public ApiResponse ExtractData([CustomizeValidator(RuleSet = "Template"), FromBo
}
}
#
endregion
#
endregion
#
region
老版提取
/// <summary>
/// 提取绩效数据
/// </summary>
/// <param name="request"></param>
/// <returns></returns>
[
Route
(
"NewExtractData"
)]
[
HttpPost
]
public
void
NewExtractData
([
CustomizeValidator
,
FromBody
]
ExtractRequest
request
)
{
}
#
endregion
/// <summary>
/// <summary>
/// 从WebAPI下载文件
/// 从WebAPI下载文件
/// </summary>
/// </summary>
...
...
performance/Performance.Services/NewExtractService.cs
View file @
fc9614b8
...
@@ -78,7 +78,7 @@ public class NewExtractService : IAutoInjection
...
@@ -78,7 +78,7 @@ public class NewExtractService : IAutoInjection
#
region
改版抽取
#
region
改版抽取
public
string
ExtractData
(
int
allotId
,
string
email
,
int
hospitalId
,
UseTemplate
useTemplate
)
public
string
ExtractData
(
int
allotId
,
string
email
,
int
hospitalId
)
{
{
// 获取医院信息
// 获取医院信息
var
allot
=
perforPerallotRepository
.
GetEntity
(
t
=>
t
.
ID
==
allotId
);
var
allot
=
perforPerallotRepository
.
GetEntity
(
t
=>
t
.
ID
==
allotId
);
...
...
performance/Performance.Services/PerExcelService/SheetDataCompute/PerSheetDataComputeWorkload.cs
View file @
fc9614b8
...
@@ -102,7 +102,7 @@ public PerSheet OnceCompute(PerSheet sheet, List<CofDrugProp> confs = null)
...
@@ -102,7 +102,7 @@ public PerSheet OnceCompute(PerSheet sheet, List<CofDrugProp> confs = null)
{
{
//获取最大列坐标位置
//获取最大列坐标位置
int
thiscell
=
sheet
.
PerHeader
.
OrderByDescending
(
t
=>
t
.
PointCell
).
FirstOrDefault
().
PointCell
+
1
;
int
thiscell
=
sheet
.
PerHeader
.
OrderByDescending
(
t
=>
t
.
PointCell
).
FirstOrDefault
().
PointCell
+
1
;
PerHeader
perHead
=
new
PerHeader
(
0
,
thiscell
,
"工作量绩效合计"
,
0
,
2
,
1
,
new
List
<
PerHeader
>(),
1
);
PerHeader
perHead
=
new
PerHeader
(
0
,
thiscell
,
"工作量绩效合计"
,
0
,
1
,
1
,
new
List
<
PerHeader
>(),
1
);
var
dataList
=
sheet
.
PerData
.
Select
(
t
=>
(
PerData
)
t
);
var
dataList
=
sheet
.
PerData
.
Select
(
t
=>
(
PerData
)
t
);
...
...
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