|
@@ -143,6 +143,7 @@ public class TbFeeDetailsService extends ServiceImpl<TbFeeDetailsMapper, TbFeeDe
|
|
|
return getOne(qw);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
public void chargeParkFee(List<PriceBO> cars, String transactionId, String outTradeNo) {
|
|
|
log.info("进入计算停车费:{}", JSONUtil.toJsonStr(cars));
|
|
|
for (PriceBO bo1 : cars) {
|
|
@@ -150,7 +151,7 @@ public class TbFeeDetailsService extends ServiceImpl<TbFeeDetailsMapper, TbFeeDe
|
|
|
continue;
|
|
|
}
|
|
|
TbBusinessCar car = tbBusinessCarService.getById(bo1.getId());
|
|
|
-// TbBusiness business = tbBusinessService.getById(car.getBusinessId());
|
|
|
+
|
|
|
BigDecimal paidMoney = car.getMoney();
|
|
|
|
|
|
List<TbFeeDetails> oldFeeList = getByBusinessCarIdAndCarNoAndFeeType(car.getId(), car.getCarNo(), TbFeeDetails.fee.PARK_FEE.getCode());
|