package market.Slm.ContractManagement.mapper;

import java.util.HashMap;
import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import market.Slm.ContractManagement.vo.SlmContractHeatInfo;

import com.hnshituo.orm.GenericMapper;

public interface SlmContractHeatInfoMapper extends GenericMapper<SlmContractHeatInfo,Object> {

	void doCancelEffect(SlmContractHeatInfo heat);

	List<SlmContractHeatInfo> doQueryTrack(SlmContractHeatInfo heat,String startTime, String endTime);

	List<SlmContractHeatInfo> doQuerySettle(SlmContractHeatInfo heat, String startTime, String endTime);

	List<HashMap> doQueryReport(String startTime, String endTime,SlmContractHeatInfo sch);

	List<SlmContractHeatInfo> doQueryDetailTrack(SlmContractHeatInfo heat);
	
	@Select("delete from SLM_CONTRACT_HEAT_INFO where CONTRACT_NO = #{contractNo}")
	void doDelete(@Param("contractNo") String contractNo);
}
