فهرست منبع

Merge branch 'master' into debug

# Conflicts:
#	sp-server/app.pid
qzyReal 3 سال پیش
والد
کامیت
2fa2348d7d
2فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 1 0
      sp-server/app.pid
  2. 3 0
      sp-server/src/main/java/com/pj/api/service/ApiService.java

+ 1 - 0
sp-server/app.pid

@@ -0,0 +1 @@
+19384

+ 3 - 0
sp-server/src/main/java/com/pj/api/service/ApiService.java

@@ -323,6 +323,9 @@ public class ApiService {
             if (db == null) {
                 db = new TbBusinessCar();
             }
+        }else {
+            db.setBusinessType(TbBusiness.BusinessType.CAR_DISINCLE.getCode());
+            tbBusinessCarService.updateById(db);
         }
         db.setPay(0).setCarNo(carNo).setBusinessType(TbBusiness.BusinessType.CAR_DISINCLE.getCode())
                 .setBusinessType(TbBusiness.BusinessType.CAR_DISINCLE.getCode())