|
|
@ -166,6 +166,15 @@ public class BusSalesOrderDepositService extends MybatisBaseService<BusSalesOrde |
|
|
|
} else { |
|
|
|
listVo.setShowImage(false); |
|
|
|
} |
|
|
|
//简易订金所有的订金
|
|
|
|
if (StringUtils.isNotBlank(listVo.getDeposit())) { |
|
|
|
if (StringUtils.isNotBlank(listVo.getUsedDeposit())) { |
|
|
|
listVo.setRemainderMoney(new BigDecimal(listVo.getDeposit()).subtract(new BigDecimal(listVo.getUsedDeposit())).add(new BigDecimal(listVo.getPayMoney())).toString()); |
|
|
|
} else { |
|
|
|
listVo.setRemainderMoney(listVo.getDeposit()); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
vo.setVirtualOrderList(listVos); |
|
|
|