Commit 25e8c298 by yinyong@bailuntec.com

修改开始时间在查询日期之后才插入数据库

parent a692b023
...@@ -126,7 +126,7 @@ public class WishSyncJob extends PointJob { ...@@ -126,7 +126,7 @@ public class WishSyncJob extends PointJob {
boolean afterTime = false; boolean afterTime = false;
try { try {
dcBaseFinanceWish = maps.get("Campaign"); dcBaseFinanceWish = maps.get("Campaign");
if(dcBaseFinanceWish.getStartTime().compareTo(jobAccountLog.getStartTime()) > -1) { if(jobAccountLog.getStartTime().compareTo(dcBaseFinanceWish.getStartTime()) > -1) {
BigDecimal exchangeRate = CallBailunSystem.getExchangeRate(CurrencyType.USD.value(), CurrencyType.CNY.value(), dcBaseFinanceWish.getStartTime()); BigDecimal exchangeRate = CallBailunSystem.getExchangeRate(CurrencyType.USD.value(), CurrencyType.CNY.value(), dcBaseFinanceWish.getStartTime());
dcBaseFinanceWish.setOtherToCnyExchangeRate(exchangeRate); dcBaseFinanceWish.setOtherToCnyExchangeRate(exchangeRate);
dcBaseFinanceWish.setAccountId(jobAccountLog.getAccountId()); dcBaseFinanceWish.setAccountId(jobAccountLog.getAccountId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment