qzyReal 3 жил өмнө
parent
commit
0dae9bfd1e

+ 1 - 1
sp-server/app.pid

@@ -1 +1 @@
-23292
+19384

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

@@ -327,6 +327,9 @@ public class ApiService {
                         .setNo(LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddHHmm")) + RandomUtil.randomNumbers(4));
                 tbBusinessCarService.save(db);
             }
+        }else {
+            db.setBusinessType(TbBusiness.BusinessType.CAR_DISINCLE.getCode());
+            tbBusinessCarService.updateById(db);
         }
         TbBusiness tbBusiness = new TbBusiness();
         tbBusiness.setBusinessCarId(db.getId()).setPayStep(tbItemType.getPayStep());