package com.house365.ws.dao.impl;

import com.house365.beans.entity.AppUrl;
import com.house365.dao.system.impl.DefaultDaoImpl;
import com.house365.ws.dao.interfaces.IAppUrlDao;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2018/9/13.
 */
@Repository("appUrlDao")
public class AppUrlDaoImpl extends DefaultDaoImpl<AppUrl> implements IAppUrlDao<AppUrl> {

    @Override
    public List<AppUrl> getListByType(Integer type) {
        return (List<AppUrl>) this.getReadTemplate().queryForList(getStatement(),type);
    }
}
