Commit f4b034a3 by carrieyzzhang

delete old event stats export report

parent 1bf993c0
...@@ -96,28 +96,30 @@ public class ExportReportThread extends Thread { ...@@ -96,28 +96,30 @@ public class ExportReportThread extends Thread {
sb = getExportContent(result); sb = getExportContent(result);
} }
} else if (export.getFunctionType().equals(FunctionEnumType.EVENTSTATS.getKey())) { }
// else if (export.getFunctionType().equals(FunctionEnumType.EVENTSTATS.getKey())) {
//必传参数:eventCondition、startdate、enddate //
String startDate = conditions.get("startdate"); // //必传参数:eventCondition、startdate、enddate
String endDate = conditions.get("enddate"); // String startDate = conditions.get("startdate");
String eventCondition = conditions.get("eventCondition"); // String endDate = conditions.get("enddate");
if (StringUtil.isEmpty(eventCondition) || StringUtil.isEmpty(startDate) || StringUtil.isEmpty(endDate)) { // String eventCondition = conditions.get("eventCondition");
// if (StringUtil.isEmpty(eventCondition) || StringUtil.isEmpty(startDate) || StringUtil.isEmpty(endDate)) {
logger.info("事件分析下载条件不全:startDate:" + startDate + ", endDate:" + endDate + ", event:" + eventCondition); //
success = false; // logger.info("事件分析下载条件不全:startDate:" + startDate + ", endDate:" + endDate + ", event:" + eventCondition);
// success = false;
} else { //
// } else {
String groupCondition = conditions.get("dimension"); //
String viewFlag = conditions.get("viewflag"); // String groupCondition = conditions.get("dimension");
boolean isDevice = Boolean.valueOf(conditions.get("isdevice")); // String viewFlag = conditions.get("viewflag");
Map<String, List> result = eventStatsService.queryEventStatsData(export.getApp(), account.getId(), startDate, endDate, // boolean isDevice = Boolean.valueOf(conditions.get("isdevice"));
groupCondition, isDevice, eventCondition, viewFlag); // Map<String, List> result = eventStatsService.queryEventStatsData(export.getApp(), account.getId(), startDate, endDate,
sb = getExportContent(result); // groupCondition, isDevice, eventCondition, viewFlag);
} // sb = getExportContent(result);
// }
} else if (FunctionEnumType.COMPLICATED_EVENTS.getKey().equals(export.getFunctionType())) { //
// }
else if (FunctionEnumType.COMPLICATED_EVENTS.getKey().equals(export.getFunctionType())) {
//必传参数:eventCondition、startdate、enddate //必传参数:eventCondition、startdate、enddate
String startDate = conditions.get("startdate"); String startDate = conditions.get("startdate");
......
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