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
7cbf0cd7
Commit
7cbf0cd7
authored
Sep 07, 2019
by
yinyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单FBA费修改
parent
f737c22a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
OrderSyncJob.java
...s-order/src/main/java/com/bailuntec/job/OrderSyncJob.java
+1
-1
No files found.
data-base/base-sync-oms-order/src/main/java/com/bailuntec/job/OrderSyncJob.java
View file @
7cbf0cd7
...
...
@@ -140,6 +140,7 @@ public class OrderSyncJob extends PointJob {
dcBaseOmsOrder
.
setQuantityBailunSku
(
bailunSkuCumulative
.
getTotalQuantity
());
//计算每个SKU采购价占总采购价比重(用于摊分SKU售价之类) 以及 每个SKU重量价占总重量的比重
BigDecimal
omsOrderFBAFee
=
BigDecimal
.
valueOf
(
0
);
dcBaseOmsOrder
.
setHasFbaFee
(
false
);
for
(
BailunSku
bailunSkuObj
:
omsResult
.
getBailunSku
())
{
BailunSkuStructure
bailunSkuStructure
=
new
BailunSkuStructure
();
/*
...
...
@@ -201,7 +202,6 @@ public class OrderSyncJob extends PointJob {
BigDecimal
FBAFee
=
dcBaseOmsSkuMapper
.
selectFBAFee
(
dcBaseOmsSku
.
getBailunSku
(),
dcBaseOmsSku
.
getWebsite
());
dcBaseOmsSku
.
setCostFbaFee
(
FBAFee
==
null
?
BigDecimal
.
valueOf
(
0
)
:
FBAFee
);
omsOrderFBAFee
=
omsOrderFBAFee
.
add
(
FBAFee
);
dcBaseOmsOrder
.
setHasFbaFee
(
false
);
}
//FBA的发货数不用从配货单信息拿, FBA只要下单亚马逊就发货
dcBaseOmsSku
.
setBailunSkuQuantityShipped
(
bailunSkuObj
.
getBailunSkuQuantityOrdered
());
...
...
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