menu表 新增modules(模块ID)
This commit is contained in:
@@ -39,6 +39,9 @@ public class Menu implements GrantedAuthority {
|
|||||||
@ApiModelProperty("菜单组件地址")
|
@ApiModelProperty("菜单组件地址")
|
||||||
private String component;
|
private String component;
|
||||||
|
|
||||||
|
@ApiModelProperty("模块ID")
|
||||||
|
private String modules;
|
||||||
|
|
||||||
@ApiModelProperty("模块API")
|
@ApiModelProperty("模块API")
|
||||||
private String modulesUrl;
|
private String modulesUrl;
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,9 @@
|
|||||||
<if test="param.parentId != null">
|
<if test="param.parentId != null">
|
||||||
AND a.parent_id = #{param.parentId}
|
AND a.parent_id = #{param.parentId}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="param.modules != null">
|
||||||
|
AND a.modules = #{param.modules}
|
||||||
|
</if>
|
||||||
<if test="param.deleted != null">
|
<if test="param.deleted != null">
|
||||||
AND a.deleted = #{param.deleted}
|
AND a.deleted = #{param.deleted}
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
@@ -40,6 +40,9 @@ public class MenuParam extends BaseParam {
|
|||||||
@ApiModelProperty("菜单组件地址")
|
@ApiModelProperty("菜单组件地址")
|
||||||
private String component;
|
private String component;
|
||||||
|
|
||||||
|
@ApiModelProperty("模块ID")
|
||||||
|
private String modules;
|
||||||
|
|
||||||
@ApiModelProperty("菜单类型, 0菜单, 1按钮")
|
@ApiModelProperty("菜单类型, 0菜单, 1按钮")
|
||||||
@QueryField(type = QueryType.EQ)
|
@QueryField(type = QueryType.EQ)
|
||||||
private Integer menuType;
|
private Integer menuType;
|
||||||
|
|||||||
Reference in New Issue
Block a user