|
@@ -70,6 +70,9 @@ public class YcRecordConvertStrategyImpl implements IRecordConvertStrategy {
|
|
|
}else{
|
|
}else{
|
|
|
consumptionBo.setCreditType(CreditTypeEnum.TERM_CONSUME.code());
|
|
consumptionBo.setCreditType(CreditTypeEnum.TERM_CONSUME.code());
|
|
|
}
|
|
}
|
|
|
|
|
+ //金额精确到两位小数
|
|
|
|
|
+ String balance =ObjectUtil.isEmpty(yc.get("cardValue")) ? "0.00": yc.get("cardValue").toString();
|
|
|
|
|
+ consumptionBo.setBalance(new BigDecimal(balance).setScale(2, RoundingMode.HALF_UP));
|
|
|
|
|
|
|
|
return consumptionBo;
|
|
return consumptionBo;
|
|
|
}
|
|
}
|