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

import com.house365.beans.po.BaseAttachment;
import com.house365.beans.system.QueryParams;
import org.springframework.stereotype.Repository;
import com.house365.dao.system.impl.DefaultDaoImpl;

import com.house365.ws.dao.interfaces.ICmHouseCommentReplyDao;
import com.house365.beans.entity.CmHouseCommentReplyEntity;

import java.util.List;

/**
 * CmHouseCommentReply数据访问实现类<br>
 * 
 * @author 江苏三六五网络股份有限公司
 * @version 1.0, 2015-08-11
 * @see
 * @since 1.0
 */
@Repository("cmHouseCommentReplyDao")
public class CmHouseCommentReplyDaoImpl extends DefaultDaoImpl<CmHouseCommentReplyEntity> implements ICmHouseCommentReplyDao<CmHouseCommentReplyEntity>{

    @Override
    public List<CmHouseCommentReplyEntity> queryAllByLastDay(QueryParams<CmHouseCommentReplyEntity> queryParams){
        return (List<CmHouseCommentReplyEntity>) this.getReadTemplate().queryForList(getStatement(),queryParams);
    }
}
