fix: 保存默认仪表板时创建人不对问题

This commit is contained in:
wangjiahao 2021-06-24 15:21:27 +08:00
parent 0175032138
commit d56c292d40

View File

@ -108,7 +108,7 @@ public class PanelGroupService {
authRequest.setId(panelId);
authRequest.setUserId(String.valueOf(AuthUtils.getUser().getUserId()));
List<PanelGroupDTO> panelGroupDTOList = extPanelGroupMapper.panelGroupList(authRequest);
if(CollectionUtils.isNotEmpty(panelGroupDTOList)){
if(!CollectionUtils.isNotEmpty(panelGroupDTOList)){
DataEaseException.throwException("未查询到用户对应的资源权限,请尝试刷新重新保存");
}