StyleMapper.java 557 Bytes
package com.yoho.search.dal;

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

import java.util.List;

public interface StyleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Style record);

    int insertSelective(Style record);

    Style selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Style record);

    int updateByPrimaryKey(Style record);
    
    List<Style> getPageLists(@Param(value="offset")Integer offset, @Param(value="pageSize")Integer pageSize);
    
    int count();
}