@Override
 public Result<Boolean> deleteStockInfo(String code) {
   Result<Boolean> result = new ResultSupport<Boolean>();
   try {
     stockInfoDAO.deleteStockInfoByCode(code);
   } catch (Exception e) {
     result.setSuccess(false);
     logger.error("StockAdminServiceImpl.deleteStockInfo", e);
   }
   return result;
 }
 @Override
 public Result<Boolean> insertStockInfo(String code) {
   Result<Boolean> result = new ResultSupport<Boolean>();
   try {
     StockInfoDO stockInfoDO = stockAnalyzerSpiderManager.getStockInfo(code);
     if (stockInfoDO != null) {
       StockInfoDO stockInfoDOInDb = stockInfoDAO.getStockInfoByCode(code);
       if (stockInfoDOInDb == null) {
         stockInfoDAO.insertStockInfo(stockInfoDO);
         result.setSuccess(true);
       } else {
         result.setSuccess(false);
       }
     } else {
       result.setSuccess(false);
     }
   } catch (Exception e) {
     result.setSuccess(false);
     logger.error("StockAdminServiceImpl.insertStockInfo", e);
   }
   return result;
 }