|
@@ -242,7 +242,8 @@ public class BarnRecordServiceImpl extends ServiceImpl<BarnRecordMapper, BarnRec
|
|
|
// 计费
|
|
|
form.setPendingAmount(carParkChargingRulesService.calcuExpenses(form.getId(),form.getCarNumber(),isMonthlyCardMode));//待收金额
|
|
|
if(form.getPendingAmount() != null){
|
|
|
- form.setBillingAmount(form.getReceivedAmount().add(form.getPendingAmount()));//计费金额
|
|
|
+ form.setPendingAmount(form.getPendingAmount().divide(new BigDecimal(100)));
|
|
|
+ form.setBillingAmount((form.getReceivedAmount().add(form.getPendingAmount())).divide(new BigDecimal(100)));//计费金额
|
|
|
}else{
|
|
|
form.setBillingAmount(form.getReceivedAmount());//计费金额
|
|
|
}
|