Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-fb
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王衍超
cloud-fb
Commits
b55bc032
Commit
b55bc032
authored
May 21, 2021
by
wukaiqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
预付款及结余汇总表导出修复
parent
a55690ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
DownLoadStatisticsServiceImpl.java
...stics/internal/service/DownLoadStatisticsServiceImpl.java
+2
-2
DownLoadStatisticsController.java
...st/dinas/statistics/web/DownLoadStatisticsController.java
+1
-0
No files found.
backend/xyst.dinas.statistics/src/main/java/com/xyst/dinas/statistics/internal/service/DownLoadStatisticsServiceImpl.java
View file @
b55bc032
...
...
@@ -293,7 +293,7 @@ public class DownLoadStatisticsServiceImpl implements DownLoadStatisticsService
*/
public
void
downLoadAdvancePaymentBalanceSumTable
(
HttpServletResponse
response
,
HttpServletRequest
request
,
String
dealYear
,
String
regionalCompany
)
throws
IOException
{
String
fileName
=
new
String
(
"预付款及结余表"
.
getBytes
(
"gb2312"
),
"ISO8859-1"
)
+
".xlsx"
;
String
fileName
=
new
String
(
"预付款及结余
汇总
表"
.
getBytes
(
"gb2312"
),
"ISO8859-1"
)
+
".xlsx"
;
InputStream
is
=
null
;
for
(
Resource
resource
:
resourcesXlsx
)
{
...
...
@@ -303,7 +303,7 @@ public class DownLoadStatisticsServiceImpl implements DownLoadStatisticsService
}
XSSFWorkbook
wb
=
new
XSSFWorkbook
(
is
);
try
{
XSSFSheet
sheet
=
wb
.
getSheet
(
"预付款及结余表"
);
XSSFSheet
sheet
=
wb
.
getSheet
(
"预付款及结余
汇总
表"
);
XSSFRow
row
=
sheet
.
createRow
(
1
);
XSSFCellStyle
textBorderStyle
=
wb
.
createCellStyle
();
...
...
backend/xyst.dinas.statistics/src/main/java/com/xyst/dinas/statistics/web/DownLoadStatisticsController.java
View file @
b55bc032
...
...
@@ -48,6 +48,7 @@ public class DownLoadStatisticsController {
conditionsDetailsInfo
.
setStationList
(
null
);
downLoadStatisticsService
.
downLoadStatisticsServiceTable
(
response
,
request
,
conditionsDetailsInfo
);
}
catch
(
RuntimeException
e
)
{
e
.
printStackTrace
();
// TODO: handle exception
logger
.
info
(
"导出数据时出现错误信息!请确认!"
+
e
.
getMessage
());
}
catch
(
IOException
e
)
{
...
...
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