|
|
@ -202,6 +202,7 @@ public class TaskPointService {
|
|
|
|
TaskPoint taskPoint = (TaskPoint) redisTemplate.opsForValue().get(TASK_POINT + id);
|
|
|
|
TaskPoint taskPoint = (TaskPoint) redisTemplate.opsForValue().get(TASK_POINT + id);
|
|
|
|
if(taskPoint == null) {
|
|
|
|
if(taskPoint == null) {
|
|
|
|
taskPoint = taskPointDao.findById(id).get();
|
|
|
|
taskPoint = taskPointDao.findById(id).get();
|
|
|
|
|
|
|
|
redisTemplate.opsForValue().set(TASK_POINT + id, taskPoint);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return taskPoint;
|
|
|
|
return taskPoint;
|
|
|
|
}
|
|
|
|
}
|
|
|
|