New file |
| | |
| | | package com.dsh.course.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dsh.guns.modular.system.model.CarInsurance; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | @Mapper |
| | | public interface CarInsuranceMapper extends BaseMapper<CarInsurance> { |
| | | |
| | | |
| | | /** |
| | | * 获取列表数据 |
| | | * @param carId |
| | | * @param offset |
| | | * @param limit |
| | | * @return |
| | | */ |
| | | List<Map<String, Object>> queryInsuranceList(@Param("carId") Integer carId, @Param("offset") Integer offset, |
| | | @Param("limit") Integer limit); |
| | | |
| | | int queryInsuranceListCount(@Param("carId") Integer carId); |
| | | } |