| | |
| | | Long memberId = dappMemberEntity.getId(); |
| | | DappMemberEntity member = dappMemberDao.selectById(memberId); |
| | | int isOnHook = member.getIsOnHook() == null ? 2 : member.getIsOnHook(); |
| | | if(1 == isOnHook){ |
| | | if(2 != isOnHook){ |
| | | return new FebsResponse().fail().message(MessageSourceUtils.getString("Operation_002")); |
| | | } |
| | | //挂机金额的倍数 |
| | |
| | | return new FebsResponse().success().data(apiPlanInfoVo); |
| | | } |
| | | |
| | | @Override |
| | | public BigDecimal getTotalFrofit(Long memberId) { |
| | | BigDecimal totalProfit = igtOnHookPlanOrderDao.selectSumProfitByMemberId(memberId); |
| | | return totalProfit; |
| | | } |
| | | |
| | | private String getProfitCase(String identity,BigDecimal balance){ |
| | | //匹配会员等级获取对应的收益率 |
| | | List<DataDictionaryCustom> dataDictionaryCustoms = dataDictionaryCustomMapper.selectDicByType(DataDictionaryEnum.LEVEL_MB.getType()); |