package com.stylefeng.guns.modular.system.service; import com.baomidou.mybatisplus.service.IService; import com.stylefeng.guns.modular.system.model.CarRental; import com.stylefeng.guns.modular.system.util.ResultUtil; import org.springframework.web.multipart.MultipartFile; import java.util.List; import java.util.Map; public interface ICarRentalService extends IService { /** * 获取列表数据 * @param createTime * @param title * @param brandId * @param insertUser * @param status * @param userType * @param offset * @param limit * @return * @throws Exception */ Map list(String createTime, String title, Integer brandId, String insertUser, List status, Integer userType, Integer offset, Integer limit) throws Exception; /** * 添加数据 * @param carRental * @return * @throws Exception */ ResultUtil addCarRental(CarRental carRental) throws Exception; /** * 修改数据 * @param carRental * @return * @throws Exception */ ResultUtil updateCarRental(CarRental carRental) throws Exception; /** * 审核操作 * @param id * @param status * @return * @throws Exception */ ResultUtil auditCarRental(Integer id, Integer status, String authRemark) throws Exception; }