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
b4ee3f44
Commit
b4ee3f44
authored
Jan 21, 2021
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
抽取时公式重新计算值
parent
bd6ad310
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
performance/Performance.Services/ExtractExcelService/ExtractService.cs
+2
-2
No files found.
performance/Performance.Services/ExtractExcelService/ExtractService.cs
View file @
b4ee3f44
...
...
@@ -86,11 +86,11 @@ public string Main(int allotId, int hospitalId, string email, string groupName,
workbook
=
ExcelHelper
.
GetWorkbook
(
templateFilePath
);
if
(
workbook
==
null
)
throw
new
PerformanceException
(
"文件读取失败"
);
workbook
.
GetCreationHelper
().
CreateFormulaEvaluator
().
EvaluateAll
();
//实时更新公式的结果
WriteDataToFile
(
workbook
,
allotId
,
dict
,
standData
,
groupName
,
isSingle
);
logService
.
ReturnTheLog
(
allotId
,
groupName
,
2
,
"提取完成"
,
$"绩效数据提取成功"
,
5
,
isSingle
);
workbook
.
GetCreationHelper
().
CreateFormulaEvaluator
().
EvaluateAll
();
//实时更新公式的结果
allot
.
IsExtracting
=
isSingle
?
2
:
0
;
allot
.
ExtractPath
=
extractFilePath
;
}
...
...
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