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
7834ccca
Commit
7834ccca
authored
Sep 07, 2019
by
yinyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
自动周转推送时间15天改为21天
parent
7cbf0cd7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
AutoTurnoverJob.java
...over/src/main/java/com/bailuntec/job/AutoTurnoverJob.java
+1
-1
No files found.
data-show/show-auto-turnover/src/main/java/com/bailuntec/job/AutoTurnoverJob.java
View file @
7834ccca
...
...
@@ -989,7 +989,7 @@ public class AutoTurnoverJob extends PointJob {
private
void
calculateForecastSales
(
BigDecimal
salesUpperLimit
,
Integer
autoForecastDay
,
DcAutoSales
dcAutoSales
,
List
<
BigDecimal
>
forecastSalesList
,
DcBaseSku
turnoverSku
)
{
if
(
LocalDateTime
.
now
().
minusDays
(
15
L
).
isBefore
(
turnoverSku
.
getPushTime
())
&&
!(
turnoverSku
.
getBuyerName
().
equals
(
Constant
.
BUYER_JIT_1
))
&&
!(
turnoverSku
.
getBuyerName
().
equals
(
Constant
.
BUYER_JIT_2
))
&&
!(
turnoverSku
.
getBuyerName
().
equals
(
Constant
.
BUYER_JIT_4
)))
{
if
(
LocalDateTime
.
now
().
minusDays
(
21
L
).
isBefore
(
turnoverSku
.
getPushTime
())
&&
!(
turnoverSku
.
getBuyerName
().
equals
(
Constant
.
BUYER_JIT_1
))
&&
!(
turnoverSku
.
getBuyerName
().
equals
(
Constant
.
BUYER_JIT_2
))
&&
!(
turnoverSku
.
getBuyerName
().
equals
(
Constant
.
BUYER_JIT_4
)))
{
for
(
int
j
=
0
;
j
<
autoForecastDay
;
j
++)
{
forecastSalesList
.
set
(
j
,
BigDecimal
.
valueOf
(
dcAutoSales
.
getOnedaySales
()));
}
...
...
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