release- 每日积分获取修复状态显示

release-2024-04-25
huangyawei 1 month ago
parent c404a10a7e
commit 53172b5c34

@ -195,7 +195,7 @@ public class TaskPointService {
} }
} else { } else {
if (!Objects.equals(taskPoint.getId(), TaskPointIdConstants.NEW_USER_INVITE)) { if (!Objects.equals(taskPoint.getId(), TaskPointIdConstants.NEW_USER_INVITE)) {
// 校验今日是否已签到 // 校验今日任务是否已完成,仅邀请信用户可以不断获取
UserPointLog todayByUserIdAndTaskPointId = userPointLogDao.findTodayByUserIdAndTaskPointId(userLoginDto.getUserId(), taskPoint.getId()); UserPointLog todayByUserIdAndTaskPointId = userPointLogDao.findTodayByUserIdAndTaskPointId(userLoginDto.getUserId(), taskPoint.getId());
if(todayByUserIdAndTaskPointId != null) { if(todayByUserIdAndTaskPointId != null) {
taskPoint.setUserStatus(PointEnums.PARTICIPATED.getCode()); taskPoint.setUserStatus(PointEnums.PARTICIPATED.getCode());

Loading…
Cancel
Save