Commit 3f8d6394 by fudahua

feat:过滤日志

parent e6dffe24
...@@ -331,7 +331,13 @@ public class FlatQueryController { ...@@ -331,7 +331,13 @@ public class FlatQueryController {
String[] enterpriseIdsArr = enterpriseIdsText.split(","); String[] enterpriseIdsArr = enterpriseIdsText.split(",");
logger.info("查询开始:{}-{}",tableId,enterpriseIdsArr); logger.info("查询开始:{}-{}",tableId,enterpriseIdsArr);
List filterData = this.flatQueryResultService.getFlatQueryFilterData(tableId, CollectionUtils.arrayToList(enterpriseIdsArr), fieldName); List filterData = this.flatQueryResultService.getFlatQueryFilterData(tableId, CollectionUtils.arrayToList(enterpriseIdsArr), fieldName);
logger.info("查询结束:{}",JSONObject.toJSONString(filterData)); String json="";
if ((!CollectionUtils.isEmpty(filterData))&&filterData.size()>50) {
json=JSONObject.toJSONString(filterData.subList(0,50));
}else{
json=JSONObject.toJSONString(filterData);
}
logger.info("查询结束:{}",json);
return filterData; return filterData;
} }
......
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