package cn.com.countrygarden.bi.main.dao.phoenix;

import cn.com.countrygarden.bi.main.model.phoenix.PhoenixSalesBuild;
import com.github.pagehelper.PageRowBounds;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface PhoenixSalesBuildMapper extends Mapper<PhoenixSalesBuild> {

    void truncate();

    void persistence(@Param("builds") List<PhoenixSalesBuild> builds, @Param("areaId") String areaId, @Param("areaName") String areaName);

    List<PhoenixSalesBuild> search(@Param("areaId") String areaId, PageRowBounds pageRowBounds);
}