class DataBaseDao extends BaseDao {

    public List<DataBaseInfo> getGroupDBsByGroup(Long groupId) throws SQLException {
        String sql = "SELECT id, db_name, comment,dal_group_id, db_address, db_port, db_user, db_password, db_catalog, db_type FROM alldbs WHERE dal_group_id=? order by db_name";
        return this.queryBySql(sql, DataBaseInfo.class, Parameter.integerOf(StringUtils.EMPTY, groupId));
    }

}