|
@@ -618,6 +618,13 @@ public class ExamController extends ControllerSupport {
|
|
|
bean.setOrgId(next.getOrgId());
|
|
|
bean.setRootOrgId(next.getRootOrgId());
|
|
|
|
|
|
+ GetOrgReq getOrgReq = new GetOrgReq();
|
|
|
+ getOrgReq.setOrgId(bean.getOrgId());
|
|
|
+ GetOrgResp getOrgResp = orgCloudService.getOrg(getOrgReq);
|
|
|
+ OrgBean org = getOrgResp.getOrg();
|
|
|
+ bean.setOrgName(org.getName());
|
|
|
+ bean.setOrgCode(org.getCode());
|
|
|
+
|
|
|
List<ExamOrgPropertyEntity> propList = examOrgPropertyRepo
|
|
|
.findByexamIdAndOrgId(next.getExamId(), next.getOrgId());
|
|
|
|
|
@@ -673,7 +680,7 @@ public class ExamController extends ControllerSupport {
|
|
|
Long examId = domain.getExamId();
|
|
|
|
|
|
ExamEntity examEntity = examRepo.findOne(examId);
|
|
|
- if (null == examEntity) {
|
|
|
+ if (null == examEntity) {
|
|
|
throw new StatusException("E-001250", "examId is wrong");
|
|
|
}
|
|
|
validateRootOrgIsolation(examEntity.getRootOrgId());
|