Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
saasio
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
reyun
saasio
Commits
f4b034a3
Commit
f4b034a3
authored
6 years ago
by
carrieyzzhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete old event stats export report
parent
1bf993c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
22 deletions
+24
-22
ExportReportThread.java
src/main/java/com/reyun/taskexecute/ExportReportThread.java
+24
-22
No files found.
src/main/java/com/reyun/taskexecute/ExportReportThread.java
View file @
f4b034a3
...
@@ -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"
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment