package com.junmp.jyzb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.junmp.jyzb.api.bean.dto.tjDto.WarrantyDataDto;
import com.junmp.jyzb.api.bean.req.WarrantyReq;
import com.junmp.jyzb.entity.VieWarrantyGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface VieWarrantyGroupMapper extends BaseMapper<VieWarrantyGroup> {

    List<VieWarrantyGroup> selectByTerms(@Param("list") List<VieWarrantyGroup> valuesList);

    List<VieWarrantyGroup> getExpireGroupList();

    Page<WarrantyDataDto> WarrantyData(@Param("page") Page<WarrantyDataDto> defaultPage,@Param("req") WarrantyReq req);
}