/**
 * Description: CmSeckillBooked数据访问实现类
 * Copyright:   Copyright (c)2015
 * Company:     江苏三六五网络股份有限公司
 * @author:     江苏三六五网络股份有限公司
 * @version:    1.0
 * Create at:   2015-11-29 下午 14:08:43
 *  
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2015-11-29   江苏三六五网络股份有限公司   1.0         Initial
 */
package com.house365.ws.dao.impl;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.house365.dao.system.impl.DefaultDaoImpl;
import com.house365.ws.dao.interfaces.ICmSeckillBookedDao;
import com.house365.beans.entity.CmHouseEntity;
import com.house365.beans.entity.CmSeckillBookedEntity;

/**
 * CmSeckillBooked数据访问实现类<br>
 * 
 * @author 江苏三六五网络股份有限公司
 * @version 1.0, 2015-11-29
 * @see
 * @since 1.0
 */
@Repository("cmSeckillBookedDao")
public class CmSeckillBookedDaoImpl extends DefaultDaoImpl<CmSeckillBookedEntity> implements ICmSeckillBookedDao<CmSeckillBookedEntity>{

    @Override
    public void deleteCmSeckillBookedByGoodId(Integer id) {
        Map<String, Object> map = new HashMap<String, Object>();
        map.put("goodsId", id);
        this.delete(getStatement(), map);
    }
    
}
