|
@@ -728,6 +728,10 @@ public class OrgController extends ControllerSupport {
|
|
|
public void getLogo(@RequestParam("domain") String domain, HttpServletResponse response)
|
|
|
throws IOException {
|
|
|
OrgEntity org = orgRepo.findByParentIdIsNullAndDomainName(domain);
|
|
|
+ if (null == org) {
|
|
|
+ throw new StatusException("B-140002", "orgEntity is null");
|
|
|
+ }
|
|
|
+
|
|
|
DynamicEnumManager manager = OrgProperty.getDynamicEnumManager();
|
|
|
DynamicEnum de = manager.getByName("LOGO_PATH");
|
|
|
|