| | |
| | | //有领取限制 |
| | | if (userMoneyUnclaimed.getIsReceiveLimit() != null && userMoneyUnclaimed.getIsReceiveLimit().equals(BaseEntity.YES)){ |
| | | List<MoneyRuleValueDto> moneyRuleValueDtoList = JSONArray.parseArray(userMoneyUnclaimed.getReceiveLimitData(), MoneyRuleValueDto.class); |
| | | logger.info("待领取资产限制数据"+JSON.toJSONString(moneyRuleValueDtoList)); |
| | | logger.info("待领取资产限制数据{},数据id:{}",JSON.toJSONString(moneyRuleValueDtoList),userMoneyUnclaimed.getId()); |
| | | boolean isPass = false; |
| | | if (moneyRuleValueDtoList != null && moneyRuleValueDtoList.size() > 0){ |
| | | if (userMoneyUnclaimed.getReceiveLimitType().equals(BaseEntity.YES)){ |
| | |
| | | if (StringUtils.noNull(userMoneyUnclaimed.getMoneyRuleId())){ |
| | | if (userMoneyUnclaimed.getReceiveMoneyLimit() != null && userMoneyUnclaimed.getReceiveMoneyLimit().equals(BaseEntity.YES)){ |
| | | //有限制,限制结束时间计算 |
| | | logger.info("待领取资产关联规则的限制天数{},数据id:{}",userMoneyUnclaimed.getWaitReceiveLimitDay(),userMoneyUnclaimed.getId()); |
| | | limitEndTime = DateUtil.addDay(userMoneyUnclaimed.getLimitStartTime(),userMoneyUnclaimed.getWaitReceiveLimitDay()); |
| | | }else { |
| | | //无限制,默认100年 |