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
28fe4e4b
Commit
28fe4e4b
authored
Aug 14, 2019
by
yinyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
广州仓JIT供应链长度固定为4
parent
8203fe13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
AutoTurnoverJob.java
...over/src/main/java/com/bailuntec/job/AutoTurnoverJob.java
+3
-3
No files found.
data-show/show-auto-turnover/src/main/java/com/bailuntec/job/AutoTurnoverJob.java
View file @
28fe4e4b
...
...
@@ -234,11 +234,11 @@ public class AutoTurnoverJob extends PointJob {
* 2倍周转期长度 < 31 的, 默认算31天, 但是生成的采购建议不拿2倍周转期以外的
*/
if
(
warehouseCode
.
equals
(
Constant
.
WAREHOUSE_JIT
)
&&
(
turnoverSku
.
getBuyerName
().
equals
(
Constant
.
BUYER_JIT_1
)
||
turnoverSku
.
getBuyerName
().
equals
(
Constant
.
BUYER_JIT_2
)
||
turnoverSku
.
getBuyerName
().
equals
(
Constant
.
BUYER_JIT_3
)))
{
BigDecimal
saveDays
=
getSaveDays
(
dcAutoSales
,
dcAutoTurnover
,
bailunSku
,
"autoForecastDay"
);
/*
BigDecimal saveDays = getSaveDays(dcAutoSales, dcAutoTurnover, bailunSku, "autoForecastDay");
if(saveDays.compareTo(new BigDecimal(4)) > -1) {
saveDays = BigDecimal.valueOf(4);
}
turnoverDays
=
saveDays
.
intValue
()
;
}
*/
turnoverDays
=
4
;
}
Integer
autoForecastDay
=
turnoverDays
*
Constant
.
TURNOVER_MULTIPLE
<
Constant
.
MIN_AUTO_FORECAST_DAY
?
Constant
.
MIN_AUTO_FORECAST_DAY
:
turnoverDays
*
2
;
...
...
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