|
@@ -1409,7 +1409,9 @@ public class OrgController extends ControllerSupport {
|
|
|
if (null == orgEntity) {
|
|
|
throw new StatusException("140002", "orgEntity is null");
|
|
|
}
|
|
|
- OrgPropertyEntity fileEntity = orgPropertyRepo.findByOrgIdAndKeyId(orgId, 26L);
|
|
|
+ DynamicEnumManager manager = OrgProperty.getDynamicEnumManager();
|
|
|
+ DynamicEnum answersTemplate = manager.getByName("ANSWERS_TEMPLATE");
|
|
|
+ OrgPropertyEntity fileEntity = orgPropertyRepo.findByOrgIdAndKeyId(orgId, answersTemplate.getId());
|
|
|
if (null == fileEntity || StringUtils.isBlank(fileEntity.getValue())) {
|
|
|
return "";
|
|
|
}
|