车辆的增加status判断

This commit is contained in:
2025-08-04 23:31:21 +08:00
parent 3311410329
commit 8f15c0cc6f

View File

@ -30,6 +30,7 @@ public class CarServiceImpl implements CarService {
.eq(StringUtils.isNotBlank(req.getVin()),CarPO::getVin, req.getVin())
.eq(Objects.nonNull(req.getCarId()),CarPO::getId, req.getCarId())
.eq(CarPO::getDelFlag, "0")
.eq(CarPO::getStatus, "0")
.last(" limit 1");
CarPO carPO = carRepo.getOne(queryWrapper);
return CarConvert.INSTANCE.poToDto(carPO);