Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
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
haoban3.0
haoban-manage3.0
Commits
c2ba66cf
Commit
c2ba66cf
authored
Jun 20, 2024
by
guojx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
好办小程序埋点周趋势图修复
parent
61bcce1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
DateExpandUtils.java
...aoban/manage/web/utils/eventtracking/DateExpandUtils.java
+5
-2
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/utils/eventtracking/DateExpandUtils.java
View file @
c2ba66cf
...
@@ -35,9 +35,12 @@ public class DateExpandUtils {
...
@@ -35,9 +35,12 @@ public class DateExpandUtils {
list
=
DateUtil
.
getBetweenDates
(
df
.
format
(
calendar
.
getTime
()),
dateType
==
1
?
startDate
:
endDate
);
list
=
DateUtil
.
getBetweenDates
(
df
.
format
(
calendar
.
getTime
()),
dateType
==
1
?
startDate
:
endDate
);
break
;
break
;
case
4
:
case
4
:
calendar
.
setTime
(
DateUtil
.
strToDate
(
startDate
,
"yyyy-MM-dd"
));
calendar
.
add
(
Calendar
.
WEEK_OF_YEAR
,
-
11
);
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"startDate"
,
startDate
);
jsonObject
.
put
(
"startDate"
,
df
.
format
(
calendar
.
getTime
())
);
jsonObject
.
put
(
"endDate"
,
end
Date
);
jsonObject
.
put
(
"endDate"
,
start
Date
);
jsonObject
.
put
(
"pageNum"
,
1
);
jsonObject
.
put
(
"pageNum"
,
1
);
jsonObject
.
put
(
"pageSize"
,
100
);
jsonObject
.
put
(
"pageSize"
,
100
);
Map
<
String
,
Object
>
res
=
DataApiUtils
.
http
(
jsonObject
.
toJSONString
(),
"data_pub_date_week"
);
Map
<
String
,
Object
>
res
=
DataApiUtils
.
http
(
jsonObject
.
toJSONString
(),
"data_pub_date_week"
);
...
...
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