Commit 1a58859e authored by shiyu's avatar shiyu

签到任务判断是否过期2

parent dfeec976
......@@ -93,7 +93,7 @@ public class QdSignInTaskServiceImpl implements QdSignInTaskService {
}
long joinPeopleNum = qdUserSignInTaskDao.countByTaskId(task.getId());
signInTaskVo.setJoinPeopleNum(joinPeopleNum);
if (task.getEndValidTime().before(new Date())) {
if (task.getEndValidTime() != null && task.getEndValidTime().before(new Date())) {
signInTaskVo.setIsExpire(true);
}
signInTaskVoList.add(signInTaskVo);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment