| | |
| | | } else { |
| | | throw new BusinessException("行情获取异常,稍后再试"); |
| | | } |
| | | symbol_profit = Arith.mul(symbol_profit, realtime.getClose()); |
| | | symbol_profit = Arith.mul(symbol_profit, realtime.getClose().doubleValue()); |
| | | } |
| | | |
| | | if (StringUtils.isNotEmpty(miner_profit_symbol) && !"usdt".equalsIgnoreCase(miner_profit_symbol)) { |
| | |
| | | } else { |
| | | throw new BusinessException("行情获取异常,稍后再试"); |
| | | } |
| | | symbol_profit = Arith.div(symbol_profit, realtime.getClose()); |
| | | symbol_profit = Arith.div(symbol_profit, realtime.getClose().doubleValue()); |
| | | result.put("symbol_profit", symbol_profit); |
| | | } else { |
| | | result.put("symbol_profit", symbol_profit); |