日志更新页数

parent 282c870d
...@@ -106,6 +106,8 @@ public class UserQueryLogController { ...@@ -106,6 +106,8 @@ public class UserQueryLogController {
uqp.setTotal(total); uqp.setTotal(total);
if(pageSize==0||pageSize<0){ if(pageSize==0||pageSize<0){
pageSize=30; pageSize=30;
}else if(pageSize>200){
pageSize=200;
} }
uqp.setPageSize(pageSize); uqp.setPageSize(pageSize);
uqp.setPageId(pageId); uqp.setPageId(pageId);
...@@ -149,6 +151,12 @@ public class UserQueryLogController { ...@@ -149,6 +151,12 @@ public class UserQueryLogController {
List<Address> addresslist=new ArrayList<Address>(); List<Address> addresslist=new ArrayList<Address>();
HashMap<String,String> phonesCards=new HashMap<String,String>(); HashMap<String,String> phonesCards=new HashMap<String,String>();
if(pageSize==0||pageSize<0){
pageSize=30;
}else if(pageSize>200){
pageSize=200;
}
if(key.equals("userId")){ if(key.equals("userId")){
List<Long> userIds=new ArrayList<Long>(); List<Long> userIds=new ArrayList<Long>();
try{ try{
......
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