|
@@ -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());
|