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
b71df7c9
Commit
b71df7c9
authored
Aug 08, 2019
by
李承祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
列头、特殊科室
parent
ca1235ce
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
performance/Performance.Api/Controllers/TemplateController.cs
+1
-1
performance/Performance.Services/CellStyle.cs
+7
-1
performance/Performance.Services/NewExtractService.cs
+0
-0
No files found.
performance/Performance.Api/Controllers/TemplateController.cs
View file @
b71df7c9
...
...
@@ -233,7 +233,7 @@ public ApiResponse NewExtractData([CustomizeValidator, FromBody]ExtractRequest r
}
else
{
return
new
ApiResponse
(
ResponseType
.
Fail
,
"该功能暂未实现!"
);
}
return
new
ApiResponse
(
ResponseType
.
Error
,
"HIS绩效数据提取任务正在执行,稍后我们将以邮件的通知您!"
);
}
...
...
performance/Performance.Services/CellStyle.cs
View file @
b71df7c9
...
...
@@ -50,13 +50,19 @@ public static ICellStyle CreateCellStyle(IWorkbook wb, StyleType type = StyleTyp
cellStyle
.
SetFont
(
font
);
//居中
cellStyle
.
Alignment
=
HorizontalAlignment
.
Center
;
//水平居中
cellStyle
.
VerticalAlignment
=
VerticalAlignment
.
Center
;
//垂直居中
switch
(
type
)
{
case
StyleType
.
列头
:
cellStyle
.
FillForegroundColor
=
HSSFColor
.
Orange
.
Index
;
cellStyle
.
FillForegroundColor
=
HSSFColor
.
Gold
.
Index
;
cellStyle
.
FillPattern
=
FillPattern
.
SolidForeground
;
break
;
case
StyleType
.
系数
:
cellStyle
.
FillForegroundColor
=
HSSFColor
.
Green
.
Index
;
cellStyle
.
FillPattern
=
FillPattern
.
SolidForeground
;
break
;
case
StyleType
.
默认
:
cellStyle
.
SetFont
(
font
);
...
...
performance/Performance.Services/NewExtractService.cs
View file @
b71df7c9
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