Browse Source

Merge branch 'part/pay' into dev

qzyReal 2 years ago
parent
commit
e0139decd8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sp-server/src/main/java/com/pj/api/wx/service/WxService.java

+ 1 - 1
sp-server/src/main/java/com/pj/api/wx/service/WxService.java

@@ -242,7 +242,7 @@ public class WxService {
                     log.error("付款金额不正确:{}", JSONUtil.toJsonStr(notifyBO));
                     continue;
                 }
-                car.setPay(1).setMoney(car.getMoney().add(price)).setPayTime(payTime).setPayType(TbBusinessCar.PayTypeEnum.HAS_PAY_TYPE.getType());
+                car.setPay(1).setMoney(price).setPayTime(payTime).setPayType(TbBusinessCar.PayTypeEnum.HAS_PAY_TYPE.getType());
                 tbBusinessCarService.updateById(car);
                 //支付完之后要解绑
                 automaticPay.unbindRun(car.getCarNo());