| | |
| | | */ |
| | | @Override |
| | | public void memberIntegralChange(MemberIntegralChangeDto memberIntegralChangeDto) { |
| | | log.info("会员积分变动---"+memberIntegralChangeDto.toString()); |
| | | MemberTotal memberTotal = memberTotalService.getById(memberIntegralChangeDto.getMemberId()); |
| | | Integer recordType = memberIntegralChangeDto.getRecordType(); |
| | | Integer changeType = memberIntegralChangeDto.getChangeType(); |
| | |
| | | */ |
| | | @Override |
| | | public void changeMemberTotal(MemberTotalChangeDto memberTotalChangeDto) { |
| | | log.info("会员统计变动---"+memberTotalChangeDto.toString()); |
| | | Member member = this.getByUserId(memberTotalChangeDto.getUserId()); |
| | | MemberTotal memberTotal = memberTotalService.getById(member.getMemberId()); |
| | | //积分变动 |
| | |
| | | actEndDate = DateUtils.parseDateToStr("yyyy-MM-dd", DateUtils.addDays(nowDay, activeness.getStartDay())); |
| | | merTotalDto.setStartDate(actStartDate); |
| | | merTotalDto.setEndDate(actEndDate); |
| | | log.info("活跃度"+merTotalDto.toString()); |
| | | count = memberMapper.getMerMemberTotalActiveness(merTotalDto); |
| | | MgtMapIntTotalVo = new MgtMapIntTotalVo(); |
| | | MgtMapIntTotalVo.setMapKey(activeness.getActivenessName()); |
| | |
| | | */ |
| | | @Override |
| | | public Boolean changeIntegral(IntegralChangeDto integralChangeDto){ |
| | | log.info("会员积分变动---"+integralChangeDto.toString()); |
| | | Member member = this.getByUserId(integralChangeDto.getUserId()); |
| | | Integer integralType = integralChangeDto.getIntegralType(); |
| | | Integer changeIntegral = integralChangeDto.getChangeIntegral(); |