Commit a982ac28 by fudahua

Merge branch 'developer' into 'master'

feat:过滤日志

See merge request !59
parents b00e96d7 3f8d6394
......@@ -331,7 +331,13 @@ public class FlatQueryController {
String[] enterpriseIdsArr = enterpriseIdsText.split(",");
logger.info("查询开始:{}-{}",tableId,enterpriseIdsArr);
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;
}
......
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