|
@@ -601,7 +601,7 @@ public class OrgController extends ControllerSupport {
|
|
|
|
|
|
DynamicEnumManager manager = OrgProperty.getDynamicEnumManager();
|
|
|
DynamicEnum de = manager.getByName(key);
|
|
|
- OrgPropertyEntity one = orgPropertyRepo.findByOrgIdAndKeyId(orgId, de.getId());
|
|
|
+ OrgPropertyEntity one = orgPropertyRepo.findByOrgIdAndKeyId(orgEntity.getId(), de.getId());
|
|
|
if (null == one) {
|
|
|
return null;
|
|
|
}
|