소스 검색

Merge branch 'feature/1106_homework' into dev

刘俊驰 1 년 전
부모
커밋
11c5e29422
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentLessonExaminationDetailServiceImpl.java

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

@@ -108,6 +108,9 @@ public class StudentLessonExaminationDetailServiceImpl extends ServiceImpl<Stude
             return new ArrayList<>();
             return new ArrayList<>();
         }
         }
         for (StudentLessonExaminationDetailDto studentLessonExaminationDetailDto : studentLessonExaminationDetailDtos) {
         for (StudentLessonExaminationDetailDto studentLessonExaminationDetailDto : studentLessonExaminationDetailDtos) {
+            if ("DESCRIPTION".equals(studentLessonExaminationDetailDto.getHomeworkType())){
+                studentLessonExaminationDetailDto.setUseStatus("UNLOCK");
+            }
             if (StringUtils.isEmpty(studentLessonExaminationDetailDto.getFileJsons())) {
             if (StringUtils.isEmpty(studentLessonExaminationDetailDto.getFileJsons())) {
                 continue;
                 continue;
             }
             }