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
6a937c40
Commit
6a937c40
authored
Aug 27, 2019
by
李承祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sheet基础数据显示
parent
146c2518
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
performance/Performance.Services/SheetSevice.cs
+4
-3
No files found.
performance/Performance.Services/SheetSevice.cs
View file @
6a937c40
...
@@ -173,11 +173,12 @@ private void CommonExport(int sheetID, SheetExportResponse response)
...
@@ -173,11 +173,12 @@ private void CommonExport(int sheetID, SheetExportResponse response)
//response.Header.Add(technicianvalue);
//response.Header.Add(technicianvalue);
var
technicianhead
=
new
Row
(
response
.
Header
.
Count
());
technicianhead
.
Data
.
Add
(
new
Cell
(
0
,
"医技组核算单元"
,
1
,
4
,
false
,
false
));
var
technicianhead
=
new
Row
(
response
.
Header
.
Count
());
technicianhead
.
Data
.
Add
(
new
Cell
(
0
,
"医技组核算单元"
,
1
,
4
,
false
,
false
));
response
.
Header
.
Add
(
technicianhead
);
response
.
Header
.
Add
(
technicianhead
);
foreach
(
var
technician
in
dataList
.
Where
(
t
=>
t
.
UnitType
==
3
)
)
foreach
(
var
header
in
headList
)
{
{
var
header
=
headList
.
First
(
t
=>
t
.
CellValue
==
technician
.
TypeName
);
if
(
new
List
<
string
>
{
"核算单元(医生组)"
,
"核算单元(医生组)"
,
"核算单元(护理组)"
,
"科室名称"
}.
Contains
(
header
.
CellValue
))
continue
;
var
technician
=
dataList
.
FirstOrDefault
(
t
=>
t
.
UnitType
==
3
&&
t
.
TypeName
==
header
.
CellValue
);
//technicianvalue.Data.Add(new Cell(header.PointCell.Value, technician.CellValue, header.MergeRow.Value, header.MergeCell.Value, header.IsTotal == 1, false));
//technicianvalue.Data.Add(new Cell(header.PointCell.Value, technician.CellValue, header.MergeRow.Value, header.MergeCell.Value, header.IsTotal == 1, false));
technicianhead
.
Data
.
Add
(
new
Cell
(
header
.
PointCell
.
Value
,
technician
.
AccountingUnit
,
header
.
MergeRow
.
Value
,
header
.
MergeCell
.
Value
,
header
.
IsTotal
==
1
,
false
));
technicianhead
.
Data
.
Add
(
new
Cell
(
header
.
PointCell
.
Value
,
technician
?.
AccountingUnit
??
null
,
header
.
MergeRow
.
Value
,
header
.
MergeCell
.
Value
,
header
.
IsTotal
==
1
,
false
));
}
}
}
}
...
...
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