package cn.cslg.report.mapper;

import cn.cslg.report.common.model.vo.invalidReReport.QueryAllFeaturesVO;
import cn.cslg.report.entity.Features;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
@SuppressWarnings({"all"})
public interface FeatureMapper extends BaseMapper<Features> {
    public List<Features> getSignPatentNo(@Param("contents") List<String> contents ,@Param("patentNos") String patentNos);
    Features find(@Param("id") int id);

    /**
     * 查询特征内容以及位置
     * @param reportId
     * @param rightId
     * @return
     */
    List<QueryAllFeaturesVO> queryAllFeatures(Integer reportId, Integer rightId);
}
