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
3198ed0d
Commit
3198ed0d
authored
Aug 07, 2019
by
李承祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作量写入
parent
e0b7db57
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
performance/Performance.Services/NewExtractService.cs
+3
-2
No files found.
performance/Performance.Services/NewExtractService.cs
View file @
3198ed0d
...
@@ -303,7 +303,7 @@ private void WriteIncome(ISheet sheet, int allotLastId, IPerSheetDataRead sheetR
...
@@ -303,7 +303,7 @@ private void WriteIncome(ISheet sheet, int allotLastId, IPerSheetDataRead sheetR
}
}
else
if
(
headName
==
"科室名称"
)
else
if
(
headName
==
"科室名称"
)
{
{
var
dept
=
importData
.
FirstOrDefault
(
t
=>
t
.
Department
==
department
)?.
Department
;
var
dept
=
importData
.
FirstOrDefault
(
t
=>
t
.
Department
==
department
)?.
Department
??
allExtract
.
FirstOrDefault
(
t
=>
t
.
Department
==
department
)?.
Department
;
newCell
.
SetCellValue
(
dept
??
""
);
newCell
.
SetCellValue
(
dept
??
""
);
}
}
else
else
...
@@ -402,7 +402,7 @@ private void WriteWorkload(ISheet sheet, int allotLastId, IPerSheetDataRead shee
...
@@ -402,7 +402,7 @@ private void WriteWorkload(ISheet sheet, int allotLastId, IPerSheetDataRead shee
}
}
else
if
(
headName
==
"科室名称"
)
else
if
(
headName
==
"科室名称"
)
{
{
var
dept
=
importData
.
FirstOrDefault
(
t
=>
t
.
Department
==
department
)?.
Department
;
var
dept
=
importData
.
FirstOrDefault
(
t
=>
t
.
Department
==
department
)?.
Department
??
allExtract
.
FirstOrDefault
(
t
=>
t
.
Department
==
department
)?.
Department
;
newCell
.
SetCellValue
(
dept
??
""
);
newCell
.
SetCellValue
(
dept
??
""
);
}
}
else
else
...
@@ -412,6 +412,7 @@ private void WriteWorkload(ISheet sheet, int allotLastId, IPerSheetDataRead shee
...
@@ -412,6 +412,7 @@ private void WriteWorkload(ISheet sheet, int allotLastId, IPerSheetDataRead shee
newCell
.
CellStyle
=
style
;
newCell
.
CellStyle
=
style
;
}
}
}
}
rowIndex
++;
}
}
}
}
...
...
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