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
7c471021
Commit
7c471021
authored
Dec 09, 2020
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
绩效抽取特殊科室清除非公式数据、查询数据时共用同一条sql时,循环模块保存
parent
5bdbb163
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
performance/Performance.Services/ExtractExcelService/QueryService.cs
+2
-3
performance/Performance.Services/ExtractExcelService/SheetDataWrite/SpecialUnitDataWrite.cs
+1
-1
No files found.
performance/Performance.Services/ExtractExcelService/QueryService.cs
View file @
7c471021
...
...
@@ -250,7 +250,6 @@ private List<ex_result> ExtractItemData(per_allot allot, string groupName, bool
foreach
(
var
typeId
in
typeIds
)
{
var
thisItems
=
items
.
Where
(
t
=>
t
.
TypeId
==
typeId
).
ToList
();
var
modulename
=
modules
.
FirstOrDefault
(
t
=>
t
.
Id
==
thisItems
.
First
().
ModuleId
)?.
ModuleName
;
ratio
+=
30
m
/
typeIds
.
Count
();
logService
.
ReturnTheLog
(
allot
.
ID
,
groupName
,
3
,
""
,
ratio
>
50
?
50
:
ratio
,
1
,
isSingle
);
...
...
@@ -266,6 +265,7 @@ private List<ex_result> ExtractItemData(per_allot allot, string groupName, bool
{
thisItems
.
ForEach
(
f
=>
{
var
modulename
=
modules
.
FirstOrDefault
(
t
=>
t
.
Id
==
f
.
ModuleId
)?.
ModuleName
;
var
result
=
querydata
.
Select
(
t
=>
new
ex_result
{
Department
=
t
.
Department
,
...
...
@@ -404,4 +404,4 @@ private IEnumerable<ExtractDto> QueryData(sys_hospitalconfig config, per_allot a
#
endregion
QueryData
}
}
\ No newline at end of file
}
performance/Performance.Services/ExtractExcelService/SheetDataWrite/SpecialUnitDataWrite.cs
View file @
7c471021
...
...
@@ -87,7 +87,7 @@ private void ClearSheetPartialData(ISheet sheet, List<string> columns, int dataF
foreach
(
var
cellIndex
in
dict
)
{
var
cell
=
row
.
GetCell
(
cellIndex
);
if
(
cell
!=
null
)
row
.
RemoveCell
(
cell
);
if
(
cell
!=
null
&&
cell
.
CellType
!=
CellType
.
Formula
)
row
.
RemoveCell
(
cell
);
}
}
}
...
...
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