|
@@ -65,7 +65,7 @@ public class MusicGroupRegisterController extends BaseController {
|
|
|
return failed("乐团信息不存在");
|
|
|
}
|
|
|
|
|
|
- if (DateUtil.daysBetween(musicGroup.getApplyExpireDate(), date) > 1 && studentRegistration.getId() == null) {
|
|
|
+ if (date.compareTo(DateUtil.getLastTimeWithDay(musicGroup.getApplyExpireDate())) > 1 && studentRegistration.getId() == null) {
|
|
|
return failed("乐团已截止报名");
|
|
|
}
|
|
|
|