|
@@ -294,7 +294,7 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
Order order = this.getById(orderNo);
|
|
Order order = this.getById(orderNo);
|
|
// 支付金额
|
|
// 支付金额
|
|
BigDecimal amountsPayable = new BigDecimal(order.getAmountsPayable()).divide(new BigDecimal(100));
|
|
BigDecimal amountsPayable = new BigDecimal(order.getAmountsPayable()).divide(new BigDecimal(100));
|
|
- barnRecordForm.setReceivedAmount(barnRecordForm.getReceivedAmount().add(new BigDecimal(order.getAmountsPayable())));
|
|
|
|
|
|
+ barnRecordForm.setReceivedAmount(barnRecordForm.getReceivedAmount().add(amountsPayable));
|
|
barnRecordForm.setBillingStartTime(new Date());
|
|
barnRecordForm.setBillingStartTime(new Date());
|
|
barnRecordService.updateForm(barnRecordForm.getId(),barnRecordForm);
|
|
barnRecordService.updateForm(barnRecordForm.getId(),barnRecordForm);
|
|
}
|
|
}
|