Commit 917da768 by yinyong

companyId默认为1

parent a113dc06
...@@ -75,6 +75,9 @@ public class CrmRefundSyncJob extends PointJob { ...@@ -75,6 +75,9 @@ public class CrmRefundSyncJob extends PointJob {
dcBaseCrmRefund.setRefundTime(LocalDateTime.ofInstant(refundItem.getRefundedTime().toInstant(), ZoneId.systemDefault())); dcBaseCrmRefund.setRefundTime(LocalDateTime.ofInstant(refundItem.getRefundedTime().toInstant(), ZoneId.systemDefault()));
/*BigDecimal exchangeRate = CallBailunSystem.getExchangeRate((dcBaseCrmRefund.getOrderCurrency() == null ? "CNY" : dcBaseCrmRefund.getOrderCurrency()), "CNY", dcBaseCrmRefund.getRefundTime()); /*BigDecimal exchangeRate = CallBailunSystem.getExchangeRate((dcBaseCrmRefund.getOrderCurrency() == null ? "CNY" : dcBaseCrmRefund.getOrderCurrency()), "CNY", dcBaseCrmRefund.getRefundTime());
dcBaseCrmRefund.setAmountRefundRmb(exchangeRate.multiply(dcBaseCrmRefund.getAmountRefund()));*/ dcBaseCrmRefund.setAmountRefundRmb(exchangeRate.multiply(dcBaseCrmRefund.getAmountRefund()));*/
if(dcBaseCrmRefund.getCompanyId() == null || dcBaseCrmRefund.getCompanyId() == 0) {
dcBaseCrmRefund.setCompanyId(1);
}
log.warn(dcBaseCrmRefund.getOriginOrderId() +"------" + dcBaseCrmRefund.getBailunAccountId() +"------" + dcBaseCrmRefund.getBailunSku()); log.warn(dcBaseCrmRefund.getOriginOrderId() +"------" + dcBaseCrmRefund.getBailunAccountId() +"------" + dcBaseCrmRefund.getBailunSku());
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
......
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