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
ac658cf2
Commit
ac658cf2
authored
Dec 04, 2019
by
yinyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
周转过滤掉错误采购交期天数取sku交期
parent
1ab81866
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 @
ac658cf2
...
...
@@ -780,7 +780,7 @@ public class AutoTurnoverJob extends PointJob {
* 再去SKUMS取, 取SKUMS数据的时候如果是国内仓,就还取dc_base_sku原来那个字段,否则就要取dc_base_sku原新字段(调拨交期)
*/
Integer
turnoverSupplierDelivery
=
dcAveragePurchase
!=
null
&&
dcAveragePurchase
.
getDeliveryDays
()
>=
0
?
dcAveragePurchase
.
getDeliveryDays
()
:
-
1
;
if
(
turnoverSupplierDelivery
==
null
||
turnoverSupplierDelivery
.
equals
(-
1
))
{
if
(
turnoverSupplierDelivery
==
null
||
turnoverSupplierDelivery
.
equals
(-
1
)
||
turnoverSupplierDelivery
>
100
)
{
turnoverSupplierDelivery
=
turnoverSku
.
getSupplierDelivery
();
//如果非国内仓且是JIT,就取调拨交期
if
(
dcBaseWarehouse
!=
null
&&
!
dcBaseWarehouse
.
getHqType
().
equals
(
CommonConstant
.
DOMESTIC_WAREHOUSE
)
&&
(
Constant
.
BUYER_JIT_1
.
equals
(
turnoverSku
.
getBuyerName
())
||
Constant
.
BUYER_JIT_2
.
equals
(
turnoverSku
.
getBuyerName
())))
{
...
...
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