|
@@ -437,7 +437,7 @@ public class ExamServiceImpl implements ExamService {
|
|
|
GetOrgResp getOrgResp = orgCloudService.getOrg(getOrgReq);
|
|
|
OrgBean orgBean = getOrgResp.getOrg();
|
|
|
|
|
|
- if (null != orgBean.getParentId()
|
|
|
+ if (null == orgBean.getParentId()
|
|
|
|| !orgBean.getRootId().equals(examEntity.getRootOrgId())) {
|
|
|
msg.append(" 学习中心ID非法");
|
|
|
hasError = true;
|