|
@@ -112,7 +112,7 @@ public class ExamSiteController extends ControllerSupport {
|
|
throw new StatusException("B-620002", "orgId is null");
|
|
throw new StatusException("B-620002", "orgId is null");
|
|
}
|
|
}
|
|
|
|
|
|
- ExamSiteEntity es = examSiteRepo.findByOrgIdAndCode(rootOrgId, code);
|
|
|
|
|
|
+ ExamSiteEntity es = examSiteRepo.findByOrgIdAndCode(orgId, code);
|
|
if (null != es) {
|
|
if (null != es) {
|
|
throw new StatusException("B-620003", "考点代码已被占用");
|
|
throw new StatusException("B-620003", "考点代码已被占用");
|
|
}
|
|
}
|