package market.Cm.mapper;
import java.util.List;

import market.Cm.vo.CmCostAcmProdH;

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

import com.hnshituo.orm.GenericMapper;

public interface CmCostAcmProdHMapper extends GenericMapper<CmCostAcmProdH,Object> {
	
	@Delete("delete from cm_cost_acm_prod_h where prod_time >= to_date(#{sTime}, 'yyyy-MM-dd HH24:mi:ss') and prod_time <= to_date(#{eTime},'yyyy-MM-dd HH24:mi:ss')")
	public void deleteCmCostAcmProdHByPrdnum(@Param("sTime")String startTime,@Param("eTime")String endTime);
	
	public List<CmCostAcmProdH> doQuary12mmAnd4mm(String prd_num);
}
