| | |
| | | import com.java110.utils.util.Assert; |
| | | import com.java110.utils.util.BeanConvertUtil; |
| | | import com.java110.utils.util.DateUtil; |
| | | import com.java110.utils.util.ListUtil; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | |
| | | import java.util.List; |
| | |
| | | ownerCarDto.setCarId(reqJson.getString("carId")); |
| | | ownerCarDto.setStatusCd("0"); |
| | | List<OwnerCarDto> ownerCarDtos = ownerCarInnerServiceSMOImpl.queryOwnerCars(ownerCarDto); |
| | | if (ownerCarDtos.isEmpty() || ownerCarDtos.size() == 0) { |
| | | if (ListUtil.isNull(ownerCarDtos)) { |
| | | throw new IllegalArgumentException("主车辆不存在"); |
| | | } |
| | | |