@Override public String getResult(Object... args) { List<StockQuickInfo> infos; if (type == 0) infos = BLFactory.getQuickInfoGetter().getMaxRiseStock(); else infos = BLFactory.getQuickInfoGetter().getMinRiseStock(); return new Gson().toJson(infos); }
@Override public String getResult(Object... args) { try { return BLFactory.getIndexAnalyse().getAnalysis(IndexType.BOLL, code); } catch (IOException e) { e.printStackTrace(); } return null; }