|
@@ -8,9 +8,9 @@
|
|
|
<!-- 保存菜单目录信息 add by wuxw 2018-07-03 -->
|
|
<!-- 保存菜单目录信息 add by wuxw 2018-07-03 -->
|
|
|
<insert id="saveMenuCatalogInfo" parameterType="Map">
|
|
<insert id="saveMenuCatalogInfo" parameterType="Map">
|
|
|
insert into m_menu_catalog(
|
|
insert into m_menu_catalog(
|
|
|
- store_type,ca_id,name,icon,seq,url,is_show
|
|
|
|
|
|
|
+ store_type,ca_id,name,icon,seq,url,is_show,priv_id
|
|
|
) values (
|
|
) values (
|
|
|
- #{storeType},#{caId},#{name},#{icon},#{seq},#{url},#{isShow}
|
|
|
|
|
|
|
+ #{storeType},#{caId},#{name},#{icon},#{seq},#{url},#{isShow},#{privId}
|
|
|
)
|
|
)
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -18,7 +18,7 @@
|
|
|
<!-- 查询菜单目录信息 add by wuxw 2018-07-03 -->
|
|
<!-- 查询菜单目录信息 add by wuxw 2018-07-03 -->
|
|
|
<select id="getMenuCatalogInfo" parameterType="Map" resultType="Map">
|
|
<select id="getMenuCatalogInfo" parameterType="Map" resultType="Map">
|
|
|
select t.store_type,t.store_type storeType,t.ca_id,t.ca_id caId,t.name,t.icon,t.status_cd,t.status_cd
|
|
select t.store_type,t.store_type storeType,t.ca_id,t.ca_id caId,t.name,t.icon,t.status_cd,t.status_cd
|
|
|
- statusCd,t.seq,t.url,t.is_show,t.is_show isShow
|
|
|
|
|
|
|
+ statusCd,t.seq,t.url,t.is_show,t.is_show isShow,t.priv_id privId
|
|
|
from m_menu_catalog t
|
|
from m_menu_catalog t
|
|
|
where 1 =1
|
|
where 1 =1
|
|
|
<if test="storeType !=null and storeType != ''">
|
|
<if test="storeType !=null and storeType != ''">
|
|
@@ -74,6 +74,9 @@
|
|
|
<if test="url !=null and url != ''">
|
|
<if test="url !=null and url != ''">
|
|
|
, t.url= #{url}
|
|
, t.url= #{url}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="privId !=null and privId != ''">
|
|
|
|
|
+ , t.priv_id = #{privId}
|
|
|
|
|
+ </if>
|
|
|
<if test="isShow !=null and isShow != ''">
|
|
<if test="isShow !=null and isShow != ''">
|
|
|
, t.is_show= #{isShow}
|
|
, t.is_show= #{isShow}
|
|
|
</if>
|
|
</if>
|