1.用户多角色菜单重复bug修改 2.配置界面日志总量链接查询
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
</select>
|
||||
|
||||
<select id="findSysMenuByUserId" resultType="sysMenu">
|
||||
SELECT
|
||||
SELECT DISTINCT
|
||||
<include refid="menuColumns"/>
|
||||
FROM sys_menu a
|
||||
LEFT JOIN sys_menu p ON p.id = a.parent_id
|
||||
@@ -165,6 +165,21 @@
|
||||
<if test="dbName == 'mysql'">CONCAT('%,', #{id}, ',%')</if>
|
||||
</update>
|
||||
|
||||
|
||||
|
||||
<select id="getLogUrl" resultType="String">
|
||||
SELECT
|
||||
m.href
|
||||
FROM
|
||||
sys_menu m
|
||||
WHERE
|
||||
m.function_id = #{functionId} AND m.parent_ids LIKE '%${logSearchId}%'
|
||||
</select>
|
||||
|
||||
<select id="getServiceId" resultType="Integer">
|
||||
SELECT
|
||||
s.service_id
|
||||
FROM
|
||||
function_service_dict s
|
||||
WHERE
|
||||
s.function_id = #{functionId} AND s.action = #{action}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user