| | |
| | | } |
| | | } |
| | | }*/ |
| | | logger.info("设置有效时间前打印金额规则{},资金信息{}",JSON.toJSONString(moneyRule),JSON.toJSONString(userMoneyUnclaimed)); |
| | | //设置待领取的有效时间 |
| | | if (moneyRule != null){ |
| | | if (moneyRule.getWaitReceiveLimit().equals(BaseEntity.YES)){ |
| | |
| | | if (userInfo != null){ |
| | | logger.info("操作用户资金(待领取记录)-用户设置增值金是否需要领取状态:{}", userInfo.getIsReceiveValueAddedFund()); |
| | | if (userInfo.getIsReceiveValueAddedFund() != null && BaseEntity.YES.equals(userInfo.getIsReceiveValueAddedFund())){ |
| | | // 用户设置了不用再领取,设置为系统处理 |
| | | // 设置要领取设置为领取 |
| | | userMoneyUnclaimed.setOpType(UserMoneyUnclaimed.OP_TYPE_RECEIVE); |
| | | } |
| | | } |