结构修改
This commit is contained in:
@@ -77,7 +77,7 @@ public class PermissionVO extends BaseVO {
|
||||
private String permissionDescription;
|
||||
|
||||
@Schema(description = "权限状态")
|
||||
private String permissionStatus;
|
||||
private Boolean permissionStatus;
|
||||
|
||||
// TbSysViewDTO对应字段
|
||||
@Schema(description = "视图ID")
|
||||
@@ -101,6 +101,12 @@ public class PermissionVO extends BaseVO {
|
||||
@Schema(description = "类型")
|
||||
private Integer viewType;
|
||||
|
||||
@Schema(description = "视图类型")
|
||||
private String viewViewType;
|
||||
|
||||
@Schema(description = "iframe URL")
|
||||
private String viewIframeUrl;
|
||||
|
||||
@Schema(description = "布局")
|
||||
private String viewLayout;
|
||||
|
||||
@@ -168,6 +174,8 @@ public class PermissionVO extends BaseVO {
|
||||
dto.setComponent(vo.getViewComponent());
|
||||
dto.setIcon(vo.getViewIcon());
|
||||
dto.setType(vo.getViewType());
|
||||
dto.setViewType(vo.getViewViewType());
|
||||
dto.setIframeUrl(vo.getViewIframeUrl());
|
||||
dto.setLayout(vo.getViewLayout());
|
||||
dto.setOrderNum(vo.getViewOrderNum());
|
||||
dto.setDescription(vo.getViewDescription());
|
||||
@@ -195,6 +203,8 @@ public class PermissionVO extends BaseVO {
|
||||
vo.setViewComponent(dto.getComponent());
|
||||
vo.setViewIcon(dto.getIcon());
|
||||
vo.setViewType(dto.getType());
|
||||
vo.setViewViewType(dto.getViewType());
|
||||
vo.setViewIframeUrl(dto.getIframeUrl());
|
||||
vo.setViewLayout(dto.getLayout());
|
||||
vo.setViewOrderNum(dto.getOrderNum());
|
||||
vo.setViewDescription(dto.getDescription());
|
||||
@@ -210,7 +220,7 @@ public class PermissionVO extends BaseVO {
|
||||
return vo;
|
||||
}
|
||||
|
||||
public static java.util.List<PermissionVO> fromViewDTOList(java.util.List<TbSysViewDTO> dtoList) {
|
||||
public static List<PermissionVO> fromViewDTOList(List<TbSysViewDTO> dtoList) {
|
||||
if (dtoList == null || dtoList.isEmpty()) {
|
||||
return java.util.Collections.emptyList();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user