getGoods with pdoFetch