|
|
@ -2988,10 +2988,12 @@ public class TaskQuestServiceImpl extends BaseServiceImpl<TaskQuestMapper, TaskQ |
|
|
|
private R<Object> extracted(Long questId, QuestDetailEntity questDetail) { |
|
|
|
private R<Object> extracted(Long questId, QuestDetailEntity questDetail) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<TaskQuestChildVO> taskQuestChildVOS = bladeRedis.get(RedisKeyConstant.TASK_QUEST_CHILD_KEY); |
|
|
|
List<TaskQuestChildVO> taskQuestChildVOS = bladeRedis.get(RedisKeyConstant.TASK_QUEST_CHILD_KEY+questId); |
|
|
|
if (taskQuestChildVOS == null) { |
|
|
|
if (taskQuestChildVOS == null) { |
|
|
|
taskQuestChildVOS = taskQuestChildService.selectlistByMasterId(questId); |
|
|
|
taskQuestChildVOS = taskQuestChildService.selectlistByMasterId(questId); |
|
|
|
bladeRedis.setEx(RedisKeyConstant.TASK_QUEST_CHILD_KEY, taskQuestChildVOS, 1000L); |
|
|
|
if(taskQuestChildVOS!=null){ |
|
|
|
|
|
|
|
bladeRedis.setEx(RedisKeyConstant.TASK_QUEST_CHILD_KEY+questId, taskQuestChildVOS, 1000L); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|