Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
e200f4c5
Commit
e200f4c5
authored
Feb 25, 2019
by
Ken you
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update jxls excel export---Ken
parent
d31ce086
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
DataPreviewController.java
...va/pwc/taxtech/atms/controller/DataPreviewController.java
+1
-1
CommonDocumentHelper.java
...a/pwc/taxtech/atms/service/impl/CommonDocumentHelper.java
+1
-3
DataPreviewSerivceImpl.java
...pwc/taxtech/atms/service/impl/DataPreviewSerivceImpl.java
+4
-2
No files found.
atms-api/src/main/java/pwc/taxtech/atms/controller/DataPreviewController.java
View file @
e200f4c5
...
...
@@ -83,7 +83,7 @@ public class DataPreviewController extends BaseController {
public
void
downloadCFQueryData
(
@RequestBody
CashFlowParam
param
,
HttpServletResponse
response
)
{
logger
.
debug
(
"enter downloadCFQueryData"
);
String
fileName
=
"testFile"
;
//
dataPreviewSerivceImpl.exportCashFlowList(response, param, fileName);
dataPreviewSerivceImpl
.
exportCashFlowList
(
response
,
param
,
fileName
);
}
@RequestMapping
(
value
=
"exportTBData/get"
,
method
=
RequestMethod
.
POST
,
produces
=
MediaType
.
APPLICATION_JSON_UTF8_VALUE
)
...
...
atms-api/src/main/java/pwc/taxtech/atms/service/impl/CommonDocumentHelper.java
View file @
e200f4c5
/*
package
pwc
.
taxtech
.
atms
.
service
.
impl
;
import
org.jxls.common.Context
;
import
org.jxls.expression.JexlExpressionEvaluator
;
import
org.jxls.transform.Transformer
;
...
...
@@ -82,4 +80,4 @@ public class CommonDocumentHelper {
}
}
*/
atms-api/src/main/java/pwc/taxtech/atms/service/impl/DataPreviewSerivceImpl.java
View file @
e200f4c5
...
...
@@ -60,6 +60,8 @@ public class DataPreviewSerivceImpl extends BaseService {
@Resource
private
OrganizationMapper
organizationMapper
;
@Resource
private
CommonDocumentHelper
commonDocumentHelper
;
public
PageInfo
<
TrialBalanceDto
>
getTBDataForDisplay
(
TrialBalanceParam
param
)
{
...
...
@@ -123,7 +125,7 @@ public class DataPreviewSerivceImpl extends BaseService {
return
pageInfo
;
}
/*
public HttpServletResponse exportCashFlowList(HttpServletResponse response, CashFlowParam param, String fileName) {
public
HttpServletResponse
exportCashFlowList
(
HttpServletResponse
response
,
CashFlowParam
param
,
String
fileName
)
{
//Boolean isEn = StringUtils.equals(language, "en-us");
logger
.
debug
(
"start export input invoice list to excel"
);
//String excelTemplatePathInClassPath = "/vat_excel_template/cash_flow"+(isEn?"":"_cn") + ".xlsx";
...
...
@@ -157,7 +159,7 @@ public class DataPreviewSerivceImpl extends BaseService {
logger
.
error
(
e
.
getMessage
());
}
return
null
;
}
*/
}
public
PageInfo
<
JournalEntryDto
>
getJEDataForDisplay
(
JournalEntryParam
param
)
{
...
...
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