|
@@ -612,7 +612,7 @@ public class ExamController extends ControllerSupport {
|
|
|
info.setExamId(savedExam.getId());
|
|
|
|
|
|
List<ExamOrgPropertyEntity> propList = examOrgPropertyRepo
|
|
|
- .findByexamIdAndOrgId(cur.getExamId(), cur.getOrgId());
|
|
|
+ .findByExamIdAndOrgId(cur.getExamId(), cur.getOrgId());
|
|
|
|
|
|
Map<String, String> orgProperties = Maps.newHashMap();
|
|
|
for (ExamOrgPropertyEntity curOrgProp : propList) {
|
|
@@ -903,7 +903,7 @@ public class ExamController extends ControllerSupport {
|
|
|
bean.setOrgCode(org.getCode());
|
|
|
|
|
|
List<ExamOrgPropertyEntity> propList = examOrgPropertyRepo
|
|
|
- .findByexamIdAndOrgId(next.getExamId(), next.getOrgId());
|
|
|
+ .findByExamIdAndOrgId(next.getExamId(), next.getOrgId());
|
|
|
|
|
|
Map<String, String> map = Maps.newHashMap();
|
|
|
DynamicEnumManager manager = ExamProperty.getDynamicEnumManager();
|
|
@@ -1176,6 +1176,9 @@ public class ExamController extends ControllerSupport {
|
|
|
for (Long cur : orgSettingsIds) {
|
|
|
ExamSpecialSettingsEntity entity = GlobalHelper.getEntity(examSpecialSettingsRepo, cur,
|
|
|
ExamSpecialSettingsEntity.class);
|
|
|
+
|
|
|
+ examOrgPropertyRepo.deleteByExamIdAndOrgId(entity.getExamId(), entity.getOrgId());
|
|
|
+
|
|
|
examSpecialSettingsRepo.delete(entity);
|
|
|
ret.add(entity.getExamId() + ":" + entity.getOrgId());
|
|
|
}
|