Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
customer-service
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QG
customer-service
Commits
37c348f9
Commit
37c348f9
authored
Feb 24, 2022
by
吴琼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xiug
parent
b84bb463
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
TransactionReceiptRecordRest.java
...uantgroup/customer/rest/TransactionReceiptRecordRest.java
+2
-1
No files found.
src/main/java/cn/quantgroup/customer/rest/TransactionReceiptRecordRest.java
View file @
37c348f9
...
@@ -10,6 +10,7 @@ import com.alibaba.fastjson.JSONObject;
...
@@ -10,6 +10,7 @@ import com.alibaba.fastjson.JSONObject;
import
com.google.common.collect.Maps
;
import
com.google.common.collect.Maps
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.data.domain.Page
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
...
@@ -36,7 +37,7 @@ public class TransactionReceiptRecordRest {
...
@@ -36,7 +37,7 @@ public class TransactionReceiptRecordRest {
* @return
* @return
*/
*/
@RequestMapping
(
"/orderQuery/query_page"
)
@RequestMapping
(
"/orderQuery/query_page"
)
public
JsonResult
queryPage
(
@RequestBody
TransactionReceiptRecordQuery
query
)
{
public
JsonResult
<
Page
<
TransactionReceiptRecordVO
>>
queryPage
(
@RequestBody
TransactionReceiptRecordQuery
query
)
{
if
(
query
.
getPageNo
()==
null
||
query
.
getPageNo
()
<
1
)
{
if
(
query
.
getPageNo
()==
null
||
query
.
getPageNo
()
<
1
)
{
log
.
error
(
"[TransactionReceiptRecordRest_queryPage]查询参数pageNumber错误,pageNo={}"
,
query
.
getPageNo
());
log
.
error
(
"[TransactionReceiptRecordRest_queryPage]查询参数pageNumber错误,pageNo={}"
,
query
.
getPageNo
());
return
JsonResult
.
buildErrorStateResult
(
"查询参数pageNo错误"
);
return
JsonResult
.
buildErrorStateResult
(
"查询参数pageNo错误"
);
...
...
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