Bladeren bron

fix 学时推送

he2802 3 jaren geleden
bovenliggende
commit
c8723a1ec1

+ 2 - 2
zhongzheng-system/src/main/java/com/zhongzheng/modules/course/service/impl/CourseSectionServiceImpl.java

@@ -362,7 +362,7 @@ public class CourseSectionServiceImpl extends ServiceImpl<CourseSectionMapper, C
 
     public Long findProjectId(String project,Long eduId){
         if(project!=null){
-            String key = "PROJ_"+project+eduId;
+            String key = "PROJ_"+project;
             Long value = redisCache.getCacheObject(key);
             if(value!=null){
                 if(value==0L){
@@ -384,7 +384,7 @@ public class CourseSectionServiceImpl extends ServiceImpl<CourseSectionMapper, C
 
     public Long findBusinessId(String business,Long projectId){
         if(business!=null){
-            String key = "BUS_"+business+projectId;
+            String key = "BUS_"+business;
             Long value = redisCache.getCacheObject(key);
             if(value!=null){
                 if(value==0L){