|
@@ -70,8 +70,8 @@ public class LoopCommonUtils {
|
|
Double exchangeRate = ExchangeRateInstance.getInstance().getExchangeRate(currency);
|
|
Double exchangeRate = ExchangeRateInstance.getInstance().getExchangeRate(currency);
|
|
if(ToolUtils.isEmpty(exchangeRate)){
|
|
if(ToolUtils.isEmpty(exchangeRate)){
|
|
ScExchangeRate scExchangeRate = new ScExchangeRate();
|
|
ScExchangeRate scExchangeRate = new ScExchangeRate();
|
|
- scExchangeRate.setExchangeCurrency(currency);
|
|
|
|
- scExchangeRate.setForeCurrency("CNY");
|
|
|
|
|
|
+ scExchangeRate.setExchangeCurrency("CNY");
|
|
|
|
+ scExchangeRate.setForeCurrency(currency);
|
|
scExchangeRate.setGroupId("1");
|
|
scExchangeRate.setGroupId("1");
|
|
List<ScExchangeRate> scExchangeRates = scExchangeRateDao.listScExchangeRate(scExchangeRate);
|
|
List<ScExchangeRate> scExchangeRates = scExchangeRateDao.listScExchangeRate(scExchangeRate);
|
|
Double finalRate =null;
|
|
Double finalRate =null;
|