|
|
@ -44,13 +44,14 @@ |
|
|
|
</resultMap>--> |
|
|
|
|
|
|
|
<select id="appRoleMenu" resultType="com.yxt.anrui.portal.api.index.AppIndexNewListVo"> |
|
|
|
select smm.title name, |
|
|
|
if(length(smm.iconUrl) > 0, concat(#{path}, smm.iconUrl), '') as icon, |
|
|
|
smm.sid, |
|
|
|
smm.titleGroup classification, |
|
|
|
smm.sortNo, |
|
|
|
smm.path moduleAction, |
|
|
|
smm.json |
|
|
|
select distinct smm.sid, |
|
|
|
smm.title name, |
|
|
|
if(length(smm.iconUrl) > 0, concat(#{path}, smm.iconUrl), '') as icon, |
|
|
|
|
|
|
|
smm.titleGroup classification, |
|
|
|
smm.sortNo, |
|
|
|
smm.path moduleAction, |
|
|
|
smm.json |
|
|
|
from sys_mobile_menu smm |
|
|
|
left join sys_mobile_menu_role smmr on smmr.menuSid = smm.sid |
|
|
|
left join sys_user_role sr on sr.sid = smmr.roleSid |
|
|
@ -75,8 +76,8 @@ |
|
|
|
<select id="selectAppSidList" resultType="java.lang.String"> |
|
|
|
select distinct smm.linkSid |
|
|
|
from sys_mobile_menu smm |
|
|
|
left join sys_mobile_menu_role smr on smm.sid = smr.menuSid |
|
|
|
left join sys_user_role sr on sr.roleSid = smr.roleSid |
|
|
|
left join sys_mobile_menu_role smr on smm.sid = smr.menuSid |
|
|
|
left join sys_user_role sr on sr.roleSid = smr.roleSid |
|
|
|
where sr.userSid = #{userSid} |
|
|
|
</select> |
|
|
|
</mapper> |