Commit 215985d4 authored by 廖旭伟's avatar 廖旭伟

bug修改

parent fa47222c
...@@ -86,8 +86,10 @@ public class ComplexApiController { ...@@ -86,8 +86,10 @@ public class ComplexApiController {
rsp.setMsg(ApiRespCodeEnum.SUCCESS.getLabel()); rsp.setMsg(ApiRespCodeEnum.SUCCESS.getLabel());
rsp.setCode(ApiRespCodeEnum.SUCCESS.getValue()); rsp.setCode(ApiRespCodeEnum.SUCCESS.getValue());
try { try {
PageInfo pageInfo = new PageInfo(req.getPageSize()); int pageSize = req.getPageSize()==null?10:req.getPageSize();
pageInfo.setCurrPage(req.getCurrentPage()); int currentPage = req.getCurrentPage()==null?1:req.getCurrentPage();
PageInfo pageInfo = new PageInfo(pageSize);
pageInfo.setCurrPage(currentPage);
ApplyMatterEntity query = new ApplyMatterEntity(); ApplyMatterEntity query = new ApplyMatterEntity();
BeanUtils.copyProperties(req, query); BeanUtils.copyProperties(req, query);
......
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