|
@@ -567,6 +567,8 @@ public class SchoolService {
|
567
|
567
|
private void checkUpTime() throws Exception {
|
568
|
568
|
//获取区域限制学年升级时间
|
569
|
569
|
TCloud cloud = cloudMapper.getCloudUpTime();
|
|
570
|
+ if (N_Utils.isEmpty(cloud.getStarttime())) throw new Exception("未设置升级时间,请联系区管理员");
|
|
571
|
+
|
570
|
572
|
if (!ApiUtil.compareCurrDateTime(cloud.getStarttime(), cloud.getStoptime())) {
|
571
|
573
|
throw new Exception("不在学年升级时间范围,禁止升级");
|
572
|
574
|
}
|