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
75b315fa
Commit
75b315fa
authored
Oct 15, 2020
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/v2020calculate' into v2020calculate
parents
cd35ee66
dfdf6df5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
performance/Performance.Services/DFExtractService.cs
+3
-3
No files found.
performance/Performance.Services/DFExtractService.cs
View file @
75b315fa
...
...
@@ -1679,7 +1679,6 @@ private void WriteSheetData(ISheet sheet, IPerSheetDataRead sheetRead, List<NewE
var
department
=
row
.
GetCell
(
6
)?.
ToString
();
// 科室名称
if
(
string
.
IsNullOrEmpty
(
department
))
continue
;
lastrownumber
=
rowIndex
;
var
deptData
=
allExtract
.
Where
(
t
=>
t
.
Department
==
department
);
if
(
deptData
==
null
||
!
deptData
.
Any
())
continue
;
...
...
@@ -1705,6 +1704,7 @@ private void WriteSheetData(ISheet sheet, IPerSheetDataRead sheetRead, List<NewE
}
}
allExtract
.
RemoveAll
(
t
=>
t
.
Department
==
department
);
if
(
i
>
lastrownumber
)
lastrownumber
=
i
;
}
}
#
endregion
...
...
@@ -1848,7 +1848,6 @@ private void WriteWorkData(ISheet sheet, IPerSheetDataRead sheetRead, List<NewEx
var
department
=
row
.
GetCell
(
2
)?.
ToString
();
// 科室名称
if
(
string
.
IsNullOrEmpty
(
department
))
continue
;
lastrownumber
++;
var
deptData
=
allExtract
.
Where
(
t
=>
t
.
Department
==
department
);
if
(
deptData
==
null
||
!
deptData
.
Any
())
continue
;
...
...
@@ -1868,6 +1867,7 @@ private void WriteWorkData(ISheet sheet, IPerSheetDataRead sheetRead, List<NewEx
}
}
allExtract
.
RemoveAll
(
t
=>
t
.
Department
==
department
);
if
(
i
>
lastrownumber
)
lastrownumber
=
i
;
}
}
#
endregion
...
...
@@ -1881,7 +1881,7 @@ private void WriteWorkData(ISheet sheet, IPerSheetDataRead sheetRead, List<NewEx
var
lastrowIndex
=
isNewTemp
?
rowIndex
:
lastrownumber
+
1
;
foreach
(
var
department
in
allExtract
.
Select
(
t
=>
t
.
Department
).
Where
(
t
=>
!
string
.
IsNullOrEmpty
(
t
)).
Distinct
())
{
var
row
=
sheet
.
CreateRow
(
lastrowIndex
);
var
row
=
GetOrCreate
(
sheet
,
lastrowIndex
);
for
(
int
i
=
head
.
FirstCellNum
+
1
;
i
<
head
.
LastCellNum
;
i
++)
{
var
headName
=
head
.
GetCell
(
i
).
StringCellValue
;
...
...
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