38 lines
670 B
Java
38 lines
670 B
Java
package com.ruoyi.collect.service;
|
|
|
|
|
|
import com.ruoyi.collect.domain.*;
|
|
import com.ruoyi.common.core.domain.R;
|
|
|
|
import java.util.Date;
|
|
import java.util.List;
|
|
|
|
public interface CarService {
|
|
R<List<Car>> carList(Car car);
|
|
|
|
R<List<Type>> findByType();
|
|
|
|
R<List<Firm>> findByFirm();
|
|
|
|
R addCar(Car car);
|
|
|
|
R deleteCar(Integer carId);
|
|
|
|
R<Car> findByCar(Integer carId);
|
|
|
|
R updateCar(Car car);
|
|
|
|
R startIsCar(String carVin);
|
|
|
|
|
|
R<List<CarRecord>> showCarRecord();
|
|
|
|
void addRecord(String vin, Long datetime);
|
|
|
|
void endIsCar(String vin);
|
|
|
|
void endCarRecord(CarRecord carRecord);
|
|
|
|
R<CarRecord> showCarRecordById(Integer recordId);
|
|
}
|