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
e5105708
Commit
e5105708
authored
Mar 19, 2020
by
yinyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据中心--亚马逊item修改
parent
da05561a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
CalculateAmazonItemJob.java
...c/main/java/com/bailuntec/job/CalculateAmazonItemJob.java
+4
-1
No files found.
data-mid/mid-calculate-item/src/main/java/com/bailuntec/job/CalculateAmazonItemJob.java
View file @
e5105708
...
@@ -16,6 +16,7 @@ import org.apache.commons.beanutils.BeanUtils;
...
@@ -16,6 +16,7 @@ import org.apache.commons.beanutils.BeanUtils;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.math.RoundingMode
;
import
java.math.RoundingMode
;
import
java.time.LocalDateTime
;
import
java.util.List
;
import
java.util.List
;
@Slf4j
@Slf4j
...
@@ -99,7 +100,9 @@ public class CalculateAmazonItemJob extends PointJob {
...
@@ -99,7 +100,9 @@ public class CalculateAmazonItemJob extends PointJob {
}
}
jobPointLog
.
setPageIndex
(
jobPointLog
.
getPageIndex
()
+
1
);
jobPointLog
.
setPageIndex
(
jobPointLog
.
getPageIndex
()
+
1
);
}
while
(
jobPointLog
.
getPageIndex
()
<=
totalPage
);
}
while
(
jobPointLog
.
getPageIndex
()
<=
totalPage
);
jobPointLog
.
setPageIndex
(
0
);
jobPointLog
.
setStartTime
(
jobPointLog
.
getEndTime
());
jobPointLog
.
setEndTime
(
jobPointLog
.
getStartTime
().
plusDays
(
jobPointLog
.
getIntervalTime
().
longValue
()).
isAfter
(
LocalDateTime
.
now
())
?
LocalDateTime
.
now
()
:
jobPointLog
.
getStartTime
().
plusDays
(
jobPointLog
.
getIntervalTime
().
longValue
()));
}
}
private
long
getTotalPage
(
long
countAmazon
,
JobPointLog
jobPointLog
)
{
private
long
getTotalPage
(
long
countAmazon
,
JobPointLog
jobPointLog
)
{
...
...
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