forked from wuguolin/smartbi2
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
599 B
Java
23 lines
599 B
Java
package io.dataease.auth.util;
|
|
|
|
import io.dataease.base.domain.PanelLink;
|
|
import io.dataease.service.panel.PanelLinkService;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
@Component
|
|
public class LinkUtil {
|
|
|
|
|
|
private static PanelLinkService panelLinkService;
|
|
|
|
@Autowired
|
|
public void setPanelLinkService(PanelLinkService panelLinkService) {
|
|
LinkUtil.panelLinkService = panelLinkService;
|
|
}
|
|
|
|
public static PanelLink queryLink(String resourceId) {
|
|
return panelLinkService.findOne(resourceId);
|
|
}
|
|
}
|