Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dc-java
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
bltdc
dc-java
Commits
a70d607b
Commit
a70d607b
authored
Nov 06, 2019
by
yinyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
亚马逊广告费修改
parent
2e45be3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
AmazonAdGenerateReportIdJob.java
...n/java/com/bailuntec/job/AmazonAdGenerateReportIdJob.java
+2
-2
No files found.
data-base/base-sync-amazon-ad/src/main/java/com/bailuntec/job/AmazonAdGenerateReportIdJob.java
View file @
a70d607b
...
@@ -78,8 +78,8 @@ public class AmazonAdGenerateReportIdJob extends PointJob {
...
@@ -78,8 +78,8 @@ public class AmazonAdGenerateReportIdJob extends PointJob {
private
void
generateReportId
(
JobAccountLog
jobAccountLog
)
{
private
void
generateReportId
(
JobAccountLog
jobAccountLog
)
{
LocalDateTime
startZeroTime
=
LocalDateTime
.
of
(
jobAccountLog
.
getStartTime
().
toLocalDate
(),
LocalTime
.
MIN
);
LocalDateTime
startZeroTime
=
LocalDateTime
.
of
(
jobAccountLog
.
getStartTime
().
toLocalDate
(),
LocalTime
.
MIN
);
LocalDateTime
now
=
LocalDateTime
.
now
();
LocalDateTime
now
=
LocalDateTime
.
now
();
LocalDateTime
localDateTime
=
LocalDateTime
.
of
(
now
.
getYear
(),
now
.
getMonth
(),
now
.
getDayOfMonth
(),
12
,
0
);
LocalDateTime
localDateTime
=
LocalDateTime
.
of
(
now
.
getYear
(),
now
.
getMonth
(),
now
.
getDayOfMonth
(),
now
.
getHour
(),
now
.
getMinute
(),
now
.
getSecond
()
);
if
(
Duration
.
between
(
startZeroTime
,
localDateTime
).
toHours
()
>=
3
6
)
{
if
(
Duration
.
between
(
startZeroTime
,
localDateTime
).
toHours
()
>=
3
7
)
{
DcBaseCompanyAccount
dcBaseCompanyAccount
=
getToken
(
jobAccountLog
);
DcBaseCompanyAccount
dcBaseCompanyAccount
=
getToken
(
jobAccountLog
);
if
(
StringUtils
.
isNoneBlank
(
dcBaseCompanyAccount
.
getAmazonAdAuthJson
()))
{
if
(
StringUtils
.
isNoneBlank
(
dcBaseCompanyAccount
.
getAmazonAdAuthJson
()))
{
/**
/**
...
...
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