|
|
@@ -17,6 +17,8 @@ import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
import java.util.Date; |
|
|
|
|
|
|
|
/** |
|
|
|
* 全民护河领取积分 业务类 |
|
|
|
* |
|
|
@@ -97,6 +99,7 @@ public class ReceivePonitsService { |
|
|
|
userPointsDetail.setNickname(westreamUser.getNickname()); |
|
|
|
userPointsDetail.setChangeName("阅读知识"); |
|
|
|
userPointsDetail.setType(1); |
|
|
|
userPointsDetail.setCreateTime(new Date()); |
|
|
|
Integer points = 0; |
|
|
|
if (ObjectUtil.isNotEmpty(dictData)) { |
|
|
|
points = Integer.parseInt(dictData.getValue()); |