|
@@ -18,6 +18,7 @@
|
|
|
<result column="remark" property="remark"/>
|
|
|
<result column="is_deleted" property="isDeleted"/>
|
|
|
<result column="sys_type" property="sysType"/>
|
|
|
+ <result column="system_type" property="systemType"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap id="menuVOResultMap" type="org.springblade.modules.system.pojo.vo.MenuVO">
|
|
@@ -36,6 +37,7 @@
|
|
|
<result column="is_deleted" property="isDeleted"/>
|
|
|
<result column="sys_type" property="sysType"/>
|
|
|
<result column="has_children" property="hasChildren"/>
|
|
|
+ <result column="system_type" property="systemType"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<resultMap id="treeNodeResultMap" type="org.springblade.core.tool.node.TreeNode">
|
|
@@ -76,6 +78,9 @@
|
|
|
<if test="param2.clientId!=null and param2.clientId!=''">
|
|
|
and menu.sys_type = #{param2.clientId}
|
|
|
</if>
|
|
|
+ <if test="param2.systemType!=null">
|
|
|
+ and menu.system_type = #{param2.systemType}
|
|
|
+ </if>
|
|
|
ORDER BY menu.sort
|
|
|
</select>
|
|
|
|
|
@@ -105,6 +110,9 @@
|
|
|
<if test="param2.alias!=null and param2.alias!=''">
|
|
|
and menu.alias like concat(concat('%', #{param2.alias}),'%')
|
|
|
</if>
|
|
|
+ <if test="param2.systemType!=null">
|
|
|
+ and menu.system_type = #{param2.systemType}
|
|
|
+ </if>
|
|
|
ORDER BY menu.sort
|
|
|
</select>
|
|
|
|
|
@@ -144,6 +152,7 @@
|
|
|
<if test="param2!=null">
|
|
|
and sys_type = #{param2}
|
|
|
</if>
|
|
|
+
|
|
|
</select>
|
|
|
|
|
|
<select id="roleMenuByTopMenuId" resultMap="menuResultMap">
|
|
@@ -193,7 +202,8 @@
|
|
|
path,
|
|
|
source,
|
|
|
action,
|
|
|
- sort
|
|
|
+ sort,
|
|
|
+ system_type
|
|
|
FROM
|
|
|
blade_menu
|
|
|
WHERE
|
|
@@ -215,7 +225,8 @@
|
|
|
path,
|
|
|
source,
|
|
|
action,
|
|
|
- sort
|
|
|
+ sort,
|
|
|
+ system_type
|
|
|
FROM
|
|
|
blade_menu
|
|
|
WHERE
|
|
@@ -240,7 +251,8 @@
|
|
|
path,
|
|
|
source,
|
|
|
action,
|
|
|
- sort
|
|
|
+ sort,
|
|
|
+ system_type
|
|
|
FROM
|
|
|
blade_menu
|
|
|
WHERE
|