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
dcdfeaa6
Commit
dcdfeaa6
authored
Jul 19, 2023
by
wyc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务、全院绩效发放下载修改
parent
c5bc9ba5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
performance/Performance.Services/DownloadService.cs
+3
-4
No files found.
performance/Performance.Services/DownloadService.cs
View file @
dcdfeaa6
...
@@ -244,9 +244,8 @@ public string AllComputerDown(sys_hospital hospital, List<dynamic> dynamics, str
...
@@ -244,9 +244,8 @@ public string AllComputerDown(sys_hospital hospital, List<dynamic> dynamics, str
for
(
int
row
=
0
;
row
<
data
.
Count
();
row
++)
for
(
int
row
=
0
;
row
<
data
.
Count
();
row
++)
{
{
var
temp
=
data
.
ElementAt
(
row
);
var
temp
=
data
.
ElementAt
(
row
);
var
low
=
temp
.
Keys
.
ToString
().
ToLower
();
var
key
=
headList
[
col
].
Name
.
ToLower
();
var
value
=
temp
.
GetValue
(
headList
[
col
].
Name
,
""
);
temp
.
TryGetValue
(
key
,
out
object
value
);
worksheet
.
Cells
[
row
+
3
,
col
+
1
].
Value
=
value
;
worksheet
.
Cells
[
row
+
3
,
col
+
1
].
Value
=
value
;
}
}
if
(
col
==
0
)
if
(
col
==
0
)
...
@@ -286,7 +285,7 @@ public string AllComputerDown(sys_hospital hospital, List<dynamic> dynamics, str
...
@@ -286,7 +285,7 @@ public string AllComputerDown(sys_hospital hospital, List<dynamic> dynamics, str
}
}
return
filepath
;
return
filepath
;
}
}
public
string
ExcelDownload
(
List
<
Dictionary
<
string
,
object
>>
rows
,
string
name
,
List
<
ExcelDownloadHeads
>
excelDownloadHeads
,
string
[]
notSum
,
string
[]
ignoreColumns
)
public
string
ExcelDownload
(
List
<
Dictionary
<
string
,
object
>>
rows
,
string
name
,
List
<
ExcelDownloadHeads
>
excelDownloadHeads
,
string
[]
notSum
,
string
[]
ignoreColumns
)
{
{
var
dpath
=
Path
.
Combine
(
evn
.
ContentRootPath
,
"Files"
,
"PerformanceRelease"
);
var
dpath
=
Path
.
Combine
(
evn
.
ContentRootPath
,
"Files"
,
"PerformanceRelease"
);
FileHelper
.
CreateDirectory
(
dpath
);
FileHelper
.
CreateDirectory
(
dpath
);
...
...
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