Commit 37c348f9 authored by 吴琼's avatar 吴琼

xiug

parent b84bb463
...@@ -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错误");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment