|
|
@ -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());
|
|
|
|