|
|
@@ -101,8 +101,9 @@
|
|
|
select t.pagepath,t.app_id,t.app_id appId,t.menu_level,t.menu_level menuLevel,t.menu_name,t.menu_name
|
|
|
menuName,t.menu_type,t.menu_type menuType,t.menu_value,t.menu_value menuValue,t.status_cd,t.status_cd
|
|
|
statusCd,t.b_id,t.b_id bId,t.community_id,t.community_id communityId,t.wechat_menu_id,t.wechat_menu_id
|
|
|
- wechatMenuId,t.parent_menu_id,t.parent_menu_id parentMenuId,t.seq
|
|
|
+ wechatMenuId,t.parent_menu_id,t.parent_menu_id parentMenuId,t.seq,d.name menuTypeName
|
|
|
from wechat_menu t
|
|
|
+ left join t_dict d on t.menu_type = d.status_cd and d.table_name = 'wechat_menu' and d.table_columns = 'menu_type'
|
|
|
where 1 =1
|
|
|
<if test="pagepath !=null and pagepath != ''">
|
|
|
and t.pagepath= #{pagepath}
|
|
|
@@ -196,6 +197,7 @@
|
|
|
<select id="queryWechatMenusCount" parameterType="Map" resultType="Map">
|
|
|
select count(1) count
|
|
|
from wechat_menu t
|
|
|
+ left join t_dict d on t.menu_type = d.status_cd and d.table_name = 'wechat_menu' and d.table_columns = 'menu_type'
|
|
|
where 1 =1
|
|
|
<if test="pagepath !=null and pagepath != ''">
|
|
|
and t.pagepath= #{pagepath}
|