| | |
| | | IUserService iUserService; |
| | | @Autowired |
| | | IUserAssetsServices iUserAssetsServices; |
| | | @Autowired |
| | | ExchangeRateRepository exchangeRateRepository; |
| | | |
| | | /** |
| | | * 获取上架ai产品 |
| | |
| | | |
| | | if (!pageInfo.getList().isEmpty()) { |
| | | List<StockAiVO> newStockAiList = pageInfo.getList(); |
| | | newStockAiList.forEach(stockAiVO -> { |
| | | pageInfo.getList().forEach(stockAiVO -> { |
| | | EStockType eStockType = EStockType.getEStockTypeByCode(stockAiVO.getStockType()); |
| | | stockAiVO.setStockTypeName(eStockType.getSymbol1()); |
| | | stockAiVO.setSymbol(stockType); |
| | | }); |
| | | pageInfo.setList(newStockAiList); |
| | | } |
| | | |
| | | |
| | | return ServerResponse.createBySuccess(pageInfo); |
| | | } catch (Exception ex) { |
| | | log.error("StockAiService getAdminStockAiList error", ex); |