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
b72e7814
Commit
b72e7814
authored
Apr 03, 2019
by
chase
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
ca4c21c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
TaxDocumentController.java
...va/pwc/taxtech/atms/controller/TaxDocumentController.java
+6
-5
No files found.
atms-api/src/main/java/pwc/taxtech/atms/controller/TaxDocumentController.java
View file @
b72e7814
...
...
@@ -2,7 +2,6 @@ package pwc.taxtech.atms.controller;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.github.pagehelper.Page
;
import
com.github.pagehelper.PageHelper
;
import
com.github.pagehelper.PageInfo
;
import
net.sf.json.JSONNull
;
...
...
@@ -28,7 +27,10 @@ import pwc.taxtech.atms.thirdparty.ExcelUtil;
import
pwc.taxtech.atms.vat.entity.FileUpload
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.*
;
import
java.io.File
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.io.OutputStream
;
import
java.net.HttpURLConnection
;
import
java.net.URL
;
import
java.net.URLDecoder
;
...
...
@@ -47,9 +49,8 @@ public class TaxDocumentController {
@PostMapping
(
"selectList"
)
@ResponseBody
public
PageResultVo
<
TaxDocument
>
selectTaxDocumentList
(
@RequestBody
TaxDocumentDto
taxDocumentDto
)
{
Page
<
TaxDocument
>
page
=
PageHelper
.
startPage
(
taxDocumentDto
.
getCurrentPage
(),
taxDocumentDto
.
getPageSize
());
taxDocumentService
.
selectTaxDocumentList
(
taxDocumentDto
);
PageInfo
<
TaxDocument
>
taxDocumentPageInfo
=
page
.
toPageInfo
();
PageHelper
.
startPage
(
taxDocumentDto
.
getCurrentPage
(),
taxDocumentDto
.
getPageSize
());
PageInfo
<
TaxDocument
>
taxDocumentPageInfo
=
new
PageInfo
<>(
taxDocumentService
.
selectTaxDocumentList
(
taxDocumentDto
));
List
<
TaxDocument
>
list
=
taxDocumentPageInfo
.
getList
();
return
PageResultVo
.
getPageResultVo
(
taxDocumentPageInfo
,
list
);
}
...
...
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