Browse Source

Merge remote-tracking branch 'origin/feature/0406-degree' into feature/0406-degree

zouxuan 2 years ago
parent
commit
e6ca0e0f10

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

@@ -227,11 +227,11 @@ public class DegreeServiceImpl extends ServiceImpl<DegreeMapper, Degree> impleme
             throw new BizException("考级信息不存在");
         }
 
-        Date currentDate = DateTime.now().toDate();
         // 考级时间不匹配
+        /*Date currentDate = DateTime.now().toDate();
         if (degree.getEndTime().before(currentDate)) {
             throw new BizException("考级报名已经结束");
-        }
+        }*/
 
         // 考级分部信息
         DegreeWrapper.StudentDegreeInfo wrapper = DegreeWrapper.StudentDegreeInfo.from(JSON.toJSONString(degree));