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

import cn.com.countrygarden.bi.main.model.phoenix.PhoenixSalesOnSaleProject;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

@Repository
@Transactional
public interface PhoenixSalesOnSaleProjectMapper extends Mapper<PhoenixSalesOnSaleProject> {

    void truncate();

    void persistence(@Param("projects") List<PhoenixSalesOnSaleProject> projects);
}