package com.house365.ws.dao.impl;

import com.house365.beans.entity.CustomerCallbackRecordEntity;
import com.house365.beans.system.QueryParams;
import com.house365.dao.system.impl.DefaultDaoImpl;
import com.house365.ws.dao.interfaces.ICustomerCallbackRecordDao;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * CustomerCallbackRecord 回访录音数据访问dao实现类<br>
 *
 * @author wjx
 * @date 2018/6/26
 */
@Repository("customerCallbackRecordDao")
public class CustomerCallbackRecordDaoImpl extends DefaultDaoImpl<CustomerCallbackRecordEntity> implements ICustomerCallbackRecordDao<CustomerCallbackRecordEntity> {
    @Override
    public List<CustomerCallbackRecordEntity> queryCallbackRecord(QueryParams<CustomerCallbackRecordEntity> queryParams) {

        return queryByQueryParams(getStatement(), queryParams);
    }
}
