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
ec5066b6
Commit
ec5066b6
authored
Aug 08, 2019
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
0af1d473
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
performance/Performance.Api/Controllers/TemplateController.cs
+2
-2
performance/Performance.Services/CellStyle.cs
+1
-1
No files found.
performance/Performance.Api/Controllers/TemplateController.cs
View file @
ec5066b6
...
@@ -219,7 +219,7 @@ public ApiResponse NewExtractData([CustomizeValidator, FromBody]ExtractRequest r
...
@@ -219,7 +219,7 @@ public ApiResponse NewExtractData([CustomizeValidator, FromBody]ExtractRequest r
allot
.
IsExtracting
=
allot
.
IsExtracting
??
0
;
allot
.
IsExtracting
=
allot
.
IsExtracting
??
0
;
if
(
allot
.
IsExtracting
==
1
)
if
(
allot
.
IsExtracting
==
1
)
throw
new
PerformanceException
(
"正在提取数据,请稍等!"
);
return
new
ApiResponse
(
ResponseType
.
OK
,
"正在提取数据,请稍等!"
);
allot
.
IsExtracting
=
1
;
allot
.
IsExtracting
=
1
;
allotService
.
Update
(
allot
);
allotService
.
Update
(
allot
);
...
@@ -235,7 +235,7 @@ public ApiResponse NewExtractData([CustomizeValidator, FromBody]ExtractRequest r
...
@@ -235,7 +235,7 @@ public ApiResponse NewExtractData([CustomizeValidator, FromBody]ExtractRequest r
//{
//{
// return new ApiResponse(ResponseType.Fail, "该功能暂未实现!");
// return new ApiResponse(ResponseType.Fail, "该功能暂未实现!");
//}
//}
return
new
ApiResponse
(
ResponseType
.
Error
,
"HIS绩效数据提取任务正在执行,稍后我们将以邮件的通知您!"
);
return
new
ApiResponse
(
ResponseType
.
OK
,
"HIS绩效数据提取任务正在执行,稍后我们将以邮件的通知您!"
);
}
}
catch
(
Exception
ex
)
catch
(
Exception
ex
)
{
{
...
...
performance/Performance.Services/CellStyle.cs
View file @
ec5066b6
...
@@ -61,7 +61,7 @@ public static ICellStyle CreateCellStyle(IWorkbook wb, StyleType type = StyleTyp
...
@@ -61,7 +61,7 @@ public static ICellStyle CreateCellStyle(IWorkbook wb, StyleType type = StyleTyp
cellStyle
.
FillPattern
=
FillPattern
.
SolidForeground
;
cellStyle
.
FillPattern
=
FillPattern
.
SolidForeground
;
break
;
break
;
case
StyleType
.
系数
:
case
StyleType
.
系数
:
cellStyle
.
FillForegroundColor
=
HSSFColor
.
Green
.
Index
;
cellStyle
.
FillForegroundColor
=
HSSFColor
.
Light
Green
.
Index
;
cellStyle
.
FillPattern
=
FillPattern
.
SolidForeground
;
cellStyle
.
FillPattern
=
FillPattern
.
SolidForeground
;
break
;
break
;
case
StyleType
.
默认
:
case
StyleType
.
默认
:
...
...
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