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
huluobin
dc-java
Commits
32c75322
Commit
32c75322
authored
Apr 18, 2020
by
yinyong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获取汇率
parent
49639303
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 @
32c75322
...
@@ -990,7 +990,7 @@ public class OrderSyncJob extends PointJob {
...
@@ -990,7 +990,7 @@ public class OrderSyncJob extends PointJob {
BigDecimal
whf
=
wmsFeeDetailDtos
.
getWhf
()
==
null
?
BigDecimal
.
ZERO
:
wmsFeeDetailDtos
.
getWhf
().
multiply
(
weightRatio
).
setScale
(
5
,
RoundingMode
.
HALF_EVEN
);
BigDecimal
whf
=
wmsFeeDetailDtos
.
getWhf
()
==
null
?
BigDecimal
.
ZERO
:
wmsFeeDetailDtos
.
getWhf
().
multiply
(
weightRatio
).
setScale
(
5
,
RoundingMode
.
HALF_EVEN
);
BigDecimal
wmsToCnyExchangeRate
=
BigDecimal
.
ZERO
;
BigDecimal
wmsToCnyExchangeRate
=
BigDecimal
.
ZERO
;
BigDecimal
wmsToUsdExchangeRate
=
BigDecimal
.
ZERO
;
BigDecimal
wmsToUsdExchangeRate
=
BigDecimal
.
ZERO
;
if
(
wmsFeeDetailDtos
.
getCurrencyCode
()
!=
null
)
{
if
(
StringUtils
.
isBlank
(
wmsFeeDetailDtos
.
getCurrencyCode
())
)
{
wmsFeeDetailDtos
.
setCurrencyCode
(
"CNY"
);
wmsFeeDetailDtos
.
setCurrencyCode
(
"CNY"
);
}
}
wmsToCnyExchangeRate
=
CallBailunSystem
.
getExchangeRate
(
wmsFeeDetailDtos
.
getCurrencyCode
(),
Constant
.
RMB_CURRENCY
,
exchangeDate
);
wmsToCnyExchangeRate
=
CallBailunSystem
.
getExchangeRate
(
wmsFeeDetailDtos
.
getCurrencyCode
(),
Constant
.
RMB_CURRENCY
,
exchangeDate
);
...
...
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