Browse Source

描述作业解锁状态

刘俊驰 8 months ago
parent
commit
9609407ae5

+ 2 - 0
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentLessonExaminationDetailServiceImpl.java

@@ -153,6 +153,8 @@ public class StudentLessonExaminationDetailServiceImpl extends ServiceImpl<Stude
                                 studentLessonExaminationDetailDto.setUseStatus("LOCK");
                             }
                         }
+                    } else if ("DESCRIPTION".equals(studentLessonExaminationDetailDto.getHomeworkType())){
+                        studentLessonExaminationDetailDto.setUseStatus("UNLOCK");
                     }
                 }
             }

+ 2 - 0
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentLessonTrainingDetailServiceImpl.java

@@ -363,6 +363,8 @@ public class StudentLessonTrainingDetailServiceImpl extends ServiceImpl<StudentL
                 }
             } else if ("VIDEO".equals(studentLessonTrainingDetail.getHomeworkType())){
                 studentLessonTrainingDetail.setUseStatus("UNLOCK");
+            }else if ("DESCRIPTION".equals(studentLessonTrainingDetail.getHomeworkType())){
+                studentLessonTrainingDetail.setUseStatus("UNLOCK");
             }
         }