|
@@ -138,7 +138,7 @@ public class ExtracurricularExercisesReplyServiceImpl extends BaseServiceImpl<Lo
|
|
|
throw new BizException("作业不存在");
|
|
|
}
|
|
|
Date now=new Date();
|
|
|
- if (DateUtil.daysBetween(extracurricularExercises.getCreateTime(), now)>14){
|
|
|
+ if (DateUtil.daysBetween(extracurricularExercises.getCreateTime(), now)>=14){
|
|
|
throw new BizException("该作业已超出可提交时间范围,无法提交作业。");
|
|
|
}
|
|
|
existExtra.setAttachments(extracurricularExercisesReply.getAttachments());
|