| | |
| | | PositionVO positionVO = this.iUserPositionService.findUserPositionAllProfitAndLose(user.getId()); |
| | | userInfoVO.setAllFreezAmt(positionVO.getAllFreezAmt()); |
| | | BigDecimal allProfitAndLose = positionVO.getAllProfitAndLose(); |
| | | userInfoVO.setAllProfitAndLose(allProfitAndLose); |
| | | BigDecimal profitAndLose = this.userPositionMapper.CountPositionAllProfitAndLoseByUserId(user.getId()); |
| | | userInfoVO.setAllProfitAndLose(allProfitAndLose.add(profitAndLose)); |
| | | |
| | | // BigDecimal userAllAmt = user.getUserAmt(); |
| | | BigDecimal userAllAmt = user.getEnableAmt(); |