SuggestConversionMapper.java 529 Bytes
package com.yoho.search.dal;

import com.yoho.search.dal.model.SuggestConversion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SuggestConversionMapper {

    int selectTotalCount();

    List<SuggestConversion> selectPageList(@Param(value = "offset") Integer offset, @Param(value = "pageSize") Integer pageSize);

    SuggestConversion selectBySource(@Param(value = "source") String source);

    List<SuggestConversion> selectAll();

    void insertBatch(List<SuggestConversion> list);
}