| | |
| | | |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.dao.admin.request.CarsQuery; |
| | | import com.doumee.dao.admin.response.CarsDTO; |
| | | import com.doumee.dao.business.model.Cars; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 车辆信息表Service定义 |
| | | * @author 江蹄蹄 |
| | | * @date 2023/11/23 18:16 |
| | | * @date 2023/11/30 15:33 |
| | | */ |
| | | public interface CarsService { |
| | | |
| | | /** |
| | | * 创建 |
| | | * |
| | | * |
| | | * @param cars 实体对象 |
| | | * @return Integer |
| | | */ |
| | |
| | | * @return List<Cars> |
| | | */ |
| | | List<Cars> findList(Cars cars); |
| | | |
| | | |
| | | /** |
| | | * 分页查询 |
| | | * |
| | |
| | | * @return long |
| | | */ |
| | | long count(Cars cars); |
| | | |
| | | /** |
| | | * 长期车查询 |
| | | * @param pageWrap |
| | | * @return |
| | | */ |
| | | PageData<CarsDTO> findCarPage(PageWrap<CarsQuery> pageWrap); |
| | | } |