修改删除和进出场金额存储

This commit is contained in:
haozq 2025-01-22 09:54:11 +08:00
parent f6005af3e1
commit f9aac40c7b
1 changed files with 2 additions and 2 deletions

View File

@ -474,8 +474,8 @@ public class SupDispatchCarServiceImpl implements SupDispatchCarService{
sb.append("公里:").append(priceVo.getPrice()).append("");
vo.setCarOutId(priceVo.getId());
vo.setJcMoney(priceVo.getPrice());
BigDecimal jcMoney=new BigDecimal(priceVo.getPrice());
allMoney=allMoney.add(jcMoney);
BigDecimal jcMoney=new BigDecimal(priceVo.getPrice());
allMoney=allMoney.add(jcMoney);
cost=cost.add(jcMoney);
vo.setCost(cost.toString());
}catch (Exception e){