@@ -519,6 +519,7 @@ public class PaperStructService {
log.warn("从【数据库】中获取抽卷模板! key:{}", key);
redisClient.set(key, ps, cacheTimeOut);
+ localPaperStructCache.put(key, ps);
return ps;
}
@@ -1174,6 +1174,7 @@ public class RandomPaperServiceImpl implements RandomPaperService {
rp.setQuestionMap(map);
redisClient.set(key, rp, cacheTimeOut);
+ localRandomPaperCache.put(key, rp);
return rp;