|
@@ -433,7 +433,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
|
|
|
public Long findProjectId(String project,Long eduId){
|
|
|
if(project!=null){
|
|
|
- String key = "PROJ_"+project;
|
|
|
+ String key = "PROJ_"+project+eduId;
|
|
|
Long value = redisCache.getCacheObject(key);
|
|
|
if(value!=null){
|
|
|
if(value==0L){
|
|
@@ -455,7 +455,7 @@ public class QuestionServiceImpl extends ServiceImpl<QuestionMapper, Question> i
|
|
|
|
|
|
public Long findBusinessId(String business,Long projectId){
|
|
|
if(business!=null){
|
|
|
- String key = "BUS_"+business;
|
|
|
+ String key = "BUS_"+business+projectId;
|
|
|
Long value = redisCache.getCacheObject(key);
|
|
|
if(value!=null){
|
|
|
if(value==0L){
|