| | |
| | | }else{ |
| | | userPositionVO.setProfitAndLose(userPositionVO.getProfitAndLose().multiply(new BigDecimal(userPositionVO.getOrderLever()))); |
| | | } |
| | | Stock stock = stockMapper.findStockByCode(position.getStockCode()); |
| | | if(null != stock){ |
| | | userPositionVO.setStockId(stock.getId().toString()); |
| | | userPositionVO.setStockGidJb(stock.getStockGid()); |
| | | } |
| | | userPositionVOS.add(userPositionVO); |
| | | } |
| | | } |
| | |
| | | userPosition.setUserId(userStockSubscribe.getUserId()); |
| | | userPosition.setNickName(userStockSubscribe.getRealName()); |
| | | userPosition.setAgentId(userStockSubscribe.getAgentId()); |
| | | |
| | | userPosition.setStockName(userStockSubscribe.getNewName()); |
| | | // StringBuffer gid = new StringBuffer(); |
| | | // gid.append(stockSubscribe.getStockType()!=null?stockSubscribe.getStockType():""); |