Browse Source

Merge branch 'develop' into release

release
wanghaoran 11 months ago
parent
commit
a8494be9ba
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      tuoheng-api/src/main/java/com/tuoheng/api/service/points/receive/ReceivePonitsService.java

+ 3
- 0
tuoheng-api/src/main/java/com/tuoheng/api/service/points/receive/ReceivePonitsService.java View File

import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;


import java.util.Date;

/** /**
* 全民护河领取积分 业务类 * 全民护河领取积分 业务类
* *
userPointsDetail.setNickname(westreamUser.getNickname()); userPointsDetail.setNickname(westreamUser.getNickname());
userPointsDetail.setChangeName("阅读知识"); userPointsDetail.setChangeName("阅读知识");
userPointsDetail.setType(1); userPointsDetail.setType(1);
userPointsDetail.setCreateTime(new Date());
Integer points = 0; Integer points = 0;
if (ObjectUtil.isNotEmpty(dictData)) { if (ObjectUtil.isNotEmpty(dictData)) {
points = Integer.parseInt(dictData.getValue()); points = Integer.parseInt(dictData.getValue());

Loading…
Cancel
Save