改查询条件的显示和 查询内容分隔符换成\n回车符,以及查询记录数限制

parent d3df6fbd
......@@ -149,6 +149,11 @@ public class UserQueryLogController {
//输入enter换行\n
String[] values=keyValues.split("\\n");
List<String> queryV= Arrays.asList(values);
if(queryV!=null&&queryV.size()>1000){
return JsonResult.buildSuccessResult("查询记录数是"+queryV.size()+",超过1000条限制",null);
}
List<UserQueryInfo> userQueryInfos=new ArrayList<UserQueryInfo>();
List<UserDetail> userDetails=new ArrayList<UserDetail>();
Page<UserDetail> userDetailPage=null;
......
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