微服务版后端初始化
This commit is contained in:
52
xjrsoft-service-api/xjrsoft-service-app-api/pom.xml
Normal file
52
xjrsoft-service-api/xjrsoft-service-app-api/pom.xml
Normal file
@ -0,0 +1,52 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>xjrsoft-service-api</artifactId>
|
||||
<groupId>com.xjrsoft</groupId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>xjrsoft-service-app-api</artifactId>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>${java.version}</maven.compiler.source>
|
||||
<maven.compiler.target>${java.version}</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<!--引入hutool依赖-->
|
||||
<dependency>
|
||||
<groupId>cn.hutool</groupId>
|
||||
<artifactId>hutool-all</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>com.xjrsoft</groupId>-->
|
||||
<!-- <artifactId>xjrsoft-common-mybatis</artifactId>-->
|
||||
<!-- <version>${xjrsoft.framework.version}</version>-->
|
||||
<!-- </dependency>-->
|
||||
|
||||
<dependency>
|
||||
<groupId>com.xjrsoft</groupId>
|
||||
<artifactId>xjrsoft-service-generate-api</artifactId>
|
||||
<version>${xjrsoft.framework.version}</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<!--引入Lombok依赖-->
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<optional>true</optional>
|
||||
<version>${lombok.version}</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@ -0,0 +1,41 @@
|
||||
package com.xjrsoft.app.client;
|
||||
|
||||
import com.xjrsoft.app.dto.SetAppRoleAuthDto;
|
||||
import com.xjrsoft.app.fallback.AppAuthorizeClientFallBack;
|
||||
import com.xjrsoft.app.vo.AppRoleAuthVo;
|
||||
import com.xjrsoft.common.core.constant.GlobalConstant;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
/**
|
||||
* @author hnyyzy
|
||||
* @version 1.0
|
||||
* @date 2024/1/24 15:19
|
||||
*/
|
||||
@FeignClient(value = GlobalConstant.CLIENT_APP_NAME,fallback = AppAuthorizeClientFallBack.class)
|
||||
public interface IAppAuthorizeClient {
|
||||
|
||||
/**
|
||||
* 删除菜单的所有授权
|
||||
* @param menuId
|
||||
*/
|
||||
@GetMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_APP_NAME + "/removeAppAuthorieFeign")
|
||||
void removeAppAuthorieFeign(@RequestParam("menuId") Long menuId);
|
||||
|
||||
/**
|
||||
* 设置角色权限
|
||||
* @param dto
|
||||
*/
|
||||
@PostMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_APP_NAME + "/setAppRoleAuthFeign")
|
||||
Boolean setAppRoleAuthFeign(SetAppRoleAuthDto dto);
|
||||
|
||||
|
||||
/**
|
||||
* 获取角色权限
|
||||
* @param roleId
|
||||
*/
|
||||
@GetMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_APP_NAME + "/getAppRoleAuthFeign")
|
||||
AppRoleAuthVo getAppRoleAuthFeign(@RequestParam("menuId") Long roleId);
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.xjrsoft.app.client;
|
||||
|
||||
import com.xjrsoft.app.entity.AppFuncDesign;
|
||||
import com.xjrsoft.app.fallback.AppFuncDesignClientFallBack;
|
||||
import com.xjrsoft.common.core.constant.GlobalConstant;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/10/10 18:48
|
||||
*/
|
||||
@FeignClient(value = GlobalConstant.CLIENT_APP_NAME,fallback = AppFuncDesignClientFallBack.class)
|
||||
public interface IAppFuncDesignClient {
|
||||
/**
|
||||
* 根据关联id 获取app功能设计
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
@GetMapping(GlobalConstant.CLIENT_API_PRE + GlobalConstant.MODULE_APP_NAME + "/getAppFuncDesignFeign")
|
||||
AppFuncDesign getAppFuncDesignFeign(@RequestParam("id") Long id);
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
package com.xjrsoft.app.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/7/26 11:06
|
||||
*/
|
||||
@Data
|
||||
public class AddAppMenuDto {
|
||||
|
||||
@Schema(name = "菜单名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "菜单编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "菜单图标")
|
||||
private String icon;
|
||||
|
||||
@Schema(name = "分类id")
|
||||
private Long categoryId;
|
||||
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "url 路径")
|
||||
private String url = "/pages/customForm/list";
|
||||
|
||||
|
||||
@Schema(name = "排序")
|
||||
private Integer sortCode;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
package com.xjrsoft.app.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class AddAppPageDesignDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "页面名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "页面编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "是否是菜单:(0:否,1:是)")
|
||||
private Integer isMenu;
|
||||
|
||||
@Schema(name = "功能类别id")
|
||||
private Long categoryId;
|
||||
|
||||
@Schema(name = "图标")
|
||||
private String icon;
|
||||
|
||||
@Schema(name = "排序码")
|
||||
private Integer sortCode;
|
||||
|
||||
@Schema(name = "json内容")
|
||||
private String jsonContent;
|
||||
|
||||
@Schema(name = "1:启用,0:禁用,-1:草稿")
|
||||
private Integer enabledMark;
|
||||
|
||||
@Schema(name = "页面代码")
|
||||
private String pageCode;
|
||||
|
||||
}
|
||||
@ -0,0 +1,54 @@
|
||||
package com.xjrsoft.app.dto;
|
||||
|
||||
import com.xjrsoft.generate.dto.GeneratorAppDto;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/7/26 8:56
|
||||
*/
|
||||
@Data
|
||||
public class AddFuncDesignDto {
|
||||
|
||||
|
||||
@Schema(name = "功能模块所选id")
|
||||
private Long funcModule;
|
||||
|
||||
@Schema(name = "功能描述")
|
||||
private String funcDescribe;
|
||||
|
||||
|
||||
@Schema(name = "代码模板id")
|
||||
@NotNull(message = "代码模板id不能为空!")
|
||||
private Long codeSchemaId;
|
||||
|
||||
@Schema(name = "页面类型:0 系统表单 1 自定义表单")
|
||||
@NotNull(message = "页面类型不能为空!")
|
||||
private Integer formType;
|
||||
|
||||
@Schema(name = "是否生成代码 如果 formType 为自定义表单 需要传入 0 不生成 1 生成")
|
||||
private Integer isGeneratorCode;
|
||||
|
||||
@Schema(name = "页面配置json")
|
||||
private String jsonContent;
|
||||
|
||||
@Schema(name = "菜单配置")
|
||||
private AddAppMenuDto menuConfigs;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "排序")
|
||||
private Integer sortCode;
|
||||
|
||||
@Schema(name = "前端代码")
|
||||
private GeneratorAppDto codes;
|
||||
|
||||
@Schema(name = "状态")
|
||||
private Integer enabledMark;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.app.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/7/26 8:58
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class AppFuncDesignPageDto extends PageInput {
|
||||
|
||||
private Integer formType;
|
||||
|
||||
private Integer enabledMark;
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.xjrsoft.app.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.ListInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/8/16 9:22
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class AppMenuListDto extends ListInput {
|
||||
private String name;
|
||||
|
||||
private String code;
|
||||
|
||||
private Long categoryId;
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.xjrsoft.app.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/8/16 9:16
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class AppMenuPageDto extends PageInput {
|
||||
|
||||
private String name;
|
||||
|
||||
private String code;
|
||||
|
||||
private Long categoryId;
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
package com.xjrsoft.app.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class AppPageDesignDraftDto {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "页面名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "页面编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "是否是菜单:(0:否,1:是)")
|
||||
private Integer isMenu;
|
||||
|
||||
@Schema(name = "功能类别id")
|
||||
private Long categoryId;
|
||||
|
||||
@Schema(name = "图标")
|
||||
private String icon;
|
||||
|
||||
@Schema(name = "排序码")
|
||||
private Integer sortCode;
|
||||
|
||||
@Schema(name = "json内容")
|
||||
private String jsonContent;
|
||||
|
||||
@Schema(name = "1:启用,0:禁用,-1:草稿")
|
||||
private Integer enabledMark;
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.xjrsoft.app.dto;
|
||||
|
||||
import com.xjrsoft.common.core.domain.page.PageInput;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class AppPageDesignDto extends PageInput {
|
||||
/**
|
||||
* 页面名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 页面编码
|
||||
*/
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 页面状态
|
||||
*/
|
||||
private Integer enabledMark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.xjrsoft.app.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class DeleteAppPageDesignDto {
|
||||
|
||||
private Long id;
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
package com.xjrsoft.app.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @title: SetRoleAuthDto
|
||||
* @Author tzx
|
||||
* @Date: 2022/4/10 15:59
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class SetAppRoleAuthDto {
|
||||
|
||||
@NotNull(message = "角色id不能为空")
|
||||
private Long id;
|
||||
|
||||
private List<Long> menuIds;
|
||||
|
||||
private List<Long> buttonIds;
|
||||
|
||||
private List<Long> columnIds;
|
||||
|
||||
private List<Long> formIds;
|
||||
}
|
||||
@ -0,0 +1,58 @@
|
||||
package com.xjrsoft.app.dto;
|
||||
|
||||
import com.xjrsoft.generate.dto.GeneratorAppDto;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/7/26 9:07
|
||||
*/
|
||||
@Data
|
||||
public class UpdateAppFuncDesignDto {
|
||||
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "功能模块所选id")
|
||||
private Long funcModule;
|
||||
|
||||
@Schema(name = "功能描述")
|
||||
// @NotBlank(message = "功能描述不能为空!")
|
||||
private String funcDescribe;
|
||||
|
||||
@Schema(name = "app菜单id")
|
||||
private Long appMenuId;
|
||||
|
||||
@Schema(name = "代码模板id")
|
||||
private Long codeSchemaId;
|
||||
|
||||
@Schema(name = "页面类型:0 系统表单 1 自定义表单")
|
||||
private Integer formType;
|
||||
|
||||
@Schema(name = "是否生成代码 如果 formType 为自定义表单 需要传入 0 不生成 1 生成")
|
||||
private Integer isGeneratorCode;
|
||||
|
||||
@Schema(name = "页面配置json")
|
||||
private String jsonContent;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
@Schema(name = "排序")
|
||||
private Integer sortCode;
|
||||
|
||||
|
||||
|
||||
@Schema(name = "状态")
|
||||
private Integer enabledMark;
|
||||
|
||||
|
||||
@Schema(name = "菜单配置")
|
||||
private AddAppMenuDto menuConfigs;
|
||||
|
||||
|
||||
@Schema(name = "前端代码")
|
||||
private GeneratorAppDto codes;
|
||||
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
package com.xjrsoft.app.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/8/16 9:29
|
||||
*/
|
||||
@Data
|
||||
public class UpdateAppMenuDto {
|
||||
|
||||
@Schema(name = "id")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "菜单名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "菜单编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "菜单图标")
|
||||
private String icon;
|
||||
|
||||
@Schema(name = "分类id")
|
||||
private Long categoryId;
|
||||
|
||||
@Schema(name = "url 路径")
|
||||
private String url;
|
||||
|
||||
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "排序")
|
||||
private Integer sortCode;
|
||||
}
|
||||
@ -0,0 +1,49 @@
|
||||
package com.xjrsoft.app.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class UpdateAppPageDesignDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
@NotNull(message = "主键不能为空!")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "app菜单id")
|
||||
private Long appMenuId;
|
||||
|
||||
@Schema(name = "页面名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "页面编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "是否是菜单:(0:否,1:是)")
|
||||
private Integer isMenu;
|
||||
|
||||
@Schema(name = "功能类别id")
|
||||
private Long categoryId;
|
||||
|
||||
@Schema(name = "图标")
|
||||
private String icon;
|
||||
|
||||
@Schema(name = "排序码")
|
||||
private Integer sortCode;
|
||||
|
||||
@Schema(name = "json内容")
|
||||
private String jsonContent;
|
||||
|
||||
@Schema(name = "1:启用,0:禁用,-1:草稿")
|
||||
private Integer enabledMark;
|
||||
|
||||
@Schema(name = "页面代码")
|
||||
private String pageCode;
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.xjrsoft.app.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class UpdateEnableMarkDto implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
@NotNull(message = "主键不能为空!")
|
||||
private Long id;
|
||||
|
||||
private Integer enabledMark;
|
||||
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
package com.xjrsoft.app.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-12-25
|
||||
*/
|
||||
@TableName("xjr_app_authorize")
|
||||
@Tag(name = "AppAuthorize对象", description = "")
|
||||
@Data
|
||||
public class AppAuthorize implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "角色id")
|
||||
private Long roleId;
|
||||
|
||||
@Schema(name = "菜单id")
|
||||
private Long objectId;
|
||||
|
||||
@Schema(name = "权限类型(0-菜单,1-按钮,2-列表字段,3-表单字段)")
|
||||
private Integer appAuthorizeType;
|
||||
|
||||
}
|
||||
@ -0,0 +1,56 @@
|
||||
package com.xjrsoft.app.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-07-26
|
||||
*/
|
||||
@TableName("xjr_app_func_design")
|
||||
@Tag(name = "AppFuncDesign对象", description = "")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class AppFuncDesign extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "app菜单id")
|
||||
private Long appMenuId;
|
||||
|
||||
@Schema(name = "功能模块所选id")
|
||||
private Long funcModule;
|
||||
|
||||
@Schema(name = "功能描述")
|
||||
private String funcDescribe;
|
||||
|
||||
@Schema(name = "代码模板id")
|
||||
private Long codeSchemaId;
|
||||
|
||||
@Schema(name = "页面类型:0 系统表单 1 自定义表单")
|
||||
private Integer formType;
|
||||
|
||||
@Schema(name = "页面配置json")
|
||||
private String jsonContent;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
@Schema(name = "排序")
|
||||
private Integer sortCode;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,52 @@
|
||||
package com.xjrsoft.app.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-07-26
|
||||
*/
|
||||
@TableName("xjr_app_menu")
|
||||
@Tag(name = "AppMenu对象", description = "手机端菜单")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class AppMenu extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "菜单名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "菜单编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "菜单图标")
|
||||
private String icon;
|
||||
|
||||
@Schema(name = "菜单类别")
|
||||
private Long categoryId;
|
||||
|
||||
@Schema(name = "url 路径")
|
||||
private String url;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "排序")
|
||||
private Integer sortCode;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,45 @@
|
||||
package com.xjrsoft.app.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* app菜单按钮
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-12-25
|
||||
*/
|
||||
@TableName("xjr_app_menu_button")
|
||||
@Tag(name = "AppMenuButton对象", description = "app菜单按钮")
|
||||
@Data
|
||||
public class AppMenuButton implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "按钮名")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "app菜单Id")
|
||||
private Long menuId;
|
||||
|
||||
@Schema(name = "图标")
|
||||
private String icon;
|
||||
|
||||
@Schema(name = "编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "请求地址")
|
||||
private String url;
|
||||
|
||||
@Schema(name = "请求方式")
|
||||
private Integer method;
|
||||
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
package com.xjrsoft.app.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* app菜单列表字段
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-12-25
|
||||
*/
|
||||
@TableName("xjr_app_menu_column")
|
||||
@Tag(name = "AppMenuColumn对象", description = "app菜单列表字段")
|
||||
@Data
|
||||
public class AppMenuColumn implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "菜单主键")
|
||||
private Long menuId;
|
||||
|
||||
@Schema(name = "编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "排序码")
|
||||
private Integer sortCode;
|
||||
|
||||
@Schema(name = "描述")
|
||||
private String description;
|
||||
|
||||
}
|
||||
@ -0,0 +1,46 @@
|
||||
package com.xjrsoft.app.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* app菜单表单字段
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-12-25
|
||||
*/
|
||||
@TableName("xjr_app_menu_form")
|
||||
@Tag(name = "AppMenuForm对象", description = "app菜单表单字段")
|
||||
@Data
|
||||
public class AppMenuForm implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "菜单主键")
|
||||
private Long menuId;
|
||||
|
||||
@Schema(name = "编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "排序码")
|
||||
private Integer sortCode;
|
||||
|
||||
@Schema(name = "是否必填,0-非必填,1-必填")
|
||||
private Integer isRequired;
|
||||
|
||||
@Schema(name = "父级字段")
|
||||
private Long parentId;
|
||||
}
|
||||
|
||||
@ -0,0 +1,58 @@
|
||||
package com.xjrsoft.app.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.xjrsoft.common.core.domain.base.AuditEntity;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* xjr_app_page_design【app端展示页面设计】
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-25
|
||||
*/
|
||||
@TableName("xjr_app_page_design")
|
||||
@Tag(name = "XjrAppPageDesign对象", description = "xjr_app_page_design【app端展示页面设计】")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class AppPageDesign extends AuditEntity implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(name = "主键")
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "app菜单id")
|
||||
private Long appMenuId;
|
||||
|
||||
@Schema(name = "页面名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "页面编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "是否是菜单:(0:是,1:否)")
|
||||
private Integer isMenu;
|
||||
|
||||
@Schema(name = "功能类别id")
|
||||
private Long categoryId;
|
||||
|
||||
@Schema(name = "图标")
|
||||
private String icon;
|
||||
|
||||
@Schema(name = "排序码")
|
||||
private Integer sortCode;
|
||||
|
||||
@Schema(name = "json内容")
|
||||
private String jsonContent;
|
||||
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
package com.xjrsoft.app.fallback;
|
||||
|
||||
import com.xjrsoft.app.client.IAppAuthorizeClient;
|
||||
import com.xjrsoft.app.dto.SetAppRoleAuthDto;
|
||||
import com.xjrsoft.app.vo.AppRoleAuthVo;
|
||||
|
||||
/**
|
||||
* @author hnyyzy
|
||||
* @version 1.0
|
||||
* @date 2024/1/24 15:20
|
||||
*/
|
||||
public class AppAuthorizeClientFallBack implements IAppAuthorizeClient {
|
||||
|
||||
@Override
|
||||
public void removeAppAuthorieFeign(Long menuId) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public Boolean setAppRoleAuthFeign(SetAppRoleAuthDto dto) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AppRoleAuthVo getAppRoleAuthFeign(Long roleId) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.xjrsoft.app.fallback;
|
||||
|
||||
import com.xjrsoft.app.client.IAppFuncDesignClient;
|
||||
import com.xjrsoft.app.entity.AppFuncDesign;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/10/10 18:49
|
||||
*/
|
||||
@Component
|
||||
public class AppFuncDesignClientFallBack implements IAppFuncDesignClient {
|
||||
@Override
|
||||
public AppFuncDesign getAppFuncDesignFeign(Long id) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.app.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.app.entity.AppAuthorize;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-12-25
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppAuthorizeMapper extends BaseMapper<AppAuthorize> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.app.mapper;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.xjrsoft.app.entity.AppFuncDesign;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-07-26
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppFuncDesignMapper extends MPJBaseMapper<AppFuncDesign> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.app.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.app.entity.AppMenuButton;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* app菜单按钮 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-12-25
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppMenuButtonMapper extends BaseMapper<AppMenuButton> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.xjrsoft.app.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.app.entity.AppMenuColumn;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* app菜单列表字段 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-12-25
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppMenuColumnMapper extends BaseMapper<AppMenuColumn> {
|
||||
|
||||
}
|
||||
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.app.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.app.entity.AppMenuForm;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* app菜单表单字段 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-12-25
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppMenuFormMapper extends BaseMapper<AppMenuForm> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.app.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.app.entity.AppMenu;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author tzx
|
||||
* @since 2023-07-26
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppMenuMapper extends BaseMapper<AppMenu> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.xjrsoft.app.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.xjrsoft.app.entity.AppPageDesign;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* xjr_data_display【数据展示表】 Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author hnyyzy
|
||||
* @since 2023-06-25
|
||||
*/
|
||||
@Mapper
|
||||
public interface AppPageDesignMapper extends BaseMapper<AppPageDesign> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,56 @@
|
||||
package com.xjrsoft.app.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/7/26 9:04
|
||||
*/
|
||||
@Data
|
||||
public class AppFuncDesignPageVo {
|
||||
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "app菜单id")
|
||||
private Long appMenuId;
|
||||
|
||||
@Schema(name = "功能模块所选id")
|
||||
private Long funcModule;
|
||||
|
||||
@Schema(name = "功能描述")
|
||||
private String funcDescribe;
|
||||
|
||||
@Schema(name = "功能名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "功能编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "代码模板id")
|
||||
private Long codeSchemaId;
|
||||
|
||||
@Schema(name = "url 路径")
|
||||
private String url;
|
||||
|
||||
@Schema(name = "页面类型:0 系统表单 1 自定义表单")
|
||||
private Integer formType;
|
||||
|
||||
@Schema(name = "页面配置json")
|
||||
private String jsonContent;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "app菜单备注")
|
||||
private String menuRemark;
|
||||
|
||||
|
||||
@Schema(name = "排序")
|
||||
private Integer sortCode;
|
||||
|
||||
@Schema(name = "状态")
|
||||
private Integer enabledMark;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
package com.xjrsoft.app.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/7/26 9:03
|
||||
*/
|
||||
@Data
|
||||
public class AppFuncDesignVo {
|
||||
|
||||
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "app菜单id")
|
||||
private Long appMenuId;
|
||||
|
||||
@Schema(name = "功能模块所选id")
|
||||
private Long funcModule;
|
||||
|
||||
@Schema(name = "功能描述")
|
||||
private String funcDescribe;
|
||||
|
||||
@Schema(name = "功能名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "功能编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "url 路径")
|
||||
private String url;
|
||||
|
||||
@Schema(name = "代码模板id")
|
||||
private Long codeSchemaId;
|
||||
|
||||
@Schema(name = "页面类型:0 系统表单 1 自定义表单")
|
||||
private Integer formType;
|
||||
|
||||
@Schema(name = "页面配置json")
|
||||
private String jsonContent;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
|
||||
@Schema(name = "排序")
|
||||
private Integer sortCode;
|
||||
|
||||
|
||||
@Schema(name = "菜单配置")
|
||||
private AppMenuVo menuConfigs;
|
||||
|
||||
|
||||
@Schema(name = "状态")
|
||||
private Integer enabledMark;
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
package com.xjrsoft.app.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/8/16 9:22
|
||||
*/
|
||||
@Data
|
||||
public class AppMenuListVo {
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "菜单名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "菜单编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "菜单图标")
|
||||
private String icon;
|
||||
|
||||
@Schema(name = "菜单类别")
|
||||
private Long categoryId;
|
||||
|
||||
@Schema(name = "url 路径")
|
||||
private String url;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "排序")
|
||||
private Integer sortCode;
|
||||
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
package com.xjrsoft.app.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/8/16 9:17
|
||||
*/
|
||||
@Data
|
||||
public class AppMenuPageVo {
|
||||
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "菜单名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "菜单编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "菜单图标")
|
||||
private String icon;
|
||||
|
||||
@Schema(name = "菜单类别")
|
||||
private Long categoryId;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "url 路径")
|
||||
private String url;
|
||||
|
||||
@Schema(name = "排序")
|
||||
private Integer sortCode;
|
||||
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
package com.xjrsoft.app.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/7/31 10:26
|
||||
*/
|
||||
@Data
|
||||
public class AppMenuSimpleTreeVo {
|
||||
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "分类id")
|
||||
private Long categoryId;
|
||||
|
||||
@Schema(name = "分类名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "分类编码")
|
||||
private String code;
|
||||
|
||||
private List<AppMenuVo> children;
|
||||
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
package com.xjrsoft.app.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Author: tzx
|
||||
* @Date: 2023/7/31 10:26
|
||||
*/
|
||||
@Data
|
||||
public class AppMenuVo {
|
||||
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "菜单名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "菜单编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "菜单图标")
|
||||
private String icon;
|
||||
|
||||
@Schema(name = "分类id")
|
||||
private Long categoryId;
|
||||
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "url 路径")
|
||||
private String url;
|
||||
|
||||
@Schema(name = "排序")
|
||||
private Integer sortCode;
|
||||
|
||||
}
|
||||
@ -0,0 +1,50 @@
|
||||
package com.xjrsoft.app.vo;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class AppPageDesignVo implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Long id;
|
||||
|
||||
@Schema(name = "app菜单id")
|
||||
private Long appMenuId;
|
||||
|
||||
@Schema(name = "页面名称")
|
||||
private String name;
|
||||
|
||||
@Schema(name = "页面编码")
|
||||
private String code;
|
||||
|
||||
@Schema(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@Schema(name = "url 路径")
|
||||
private String url;
|
||||
|
||||
@Schema(name = "是否是菜单:(0:是,1:否)")
|
||||
private Integer isMenu;
|
||||
|
||||
@Schema(name = "功能类别id")
|
||||
private Long categoryId;
|
||||
|
||||
@Schema(name = "图标")
|
||||
private String icon;
|
||||
|
||||
@Schema(name = "排序码")
|
||||
private Integer sortCode;
|
||||
|
||||
@Schema(name = "json内容")
|
||||
private String jsonContent;
|
||||
|
||||
@Schema(name = "1:启用,0:禁用,-1:草稿")
|
||||
private Integer enabledMark;
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,52 @@
|
||||
package com.xjrsoft.app.vo;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @title: RoleAuthVo
|
||||
* @Author tzx
|
||||
* @Date: 2022/4/10 16:25
|
||||
* @Version 1.0
|
||||
*/
|
||||
@Data
|
||||
public class AppRoleAuthVo {
|
||||
|
||||
private List<Long> menuIds;
|
||||
|
||||
private List<Long> buttonIds;
|
||||
|
||||
private List<Long> columnIds;
|
||||
|
||||
private List<Long> formIds;
|
||||
|
||||
public List<Long> getMenuIds() {
|
||||
if (this.menuIds == null) {
|
||||
this.menuIds = new ArrayList<>();
|
||||
}
|
||||
return this.menuIds;
|
||||
}
|
||||
|
||||
public List<Long> getButtonIds() {
|
||||
if (this.buttonIds == null) {
|
||||
this.buttonIds = new ArrayList<>();
|
||||
}
|
||||
return this.buttonIds;
|
||||
}
|
||||
|
||||
public List<Long> getColumnIds() {
|
||||
if (this.columnIds == null) {
|
||||
this.columnIds = new ArrayList<>();
|
||||
}
|
||||
return this.columnIds;
|
||||
}
|
||||
|
||||
public List<Long> getFormIds() {
|
||||
if (this.formIds == null) {
|
||||
this.formIds = new ArrayList<>();
|
||||
}
|
||||
return this.formIds;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user