java110
2023-05-25 781c2e20a4bb844dae3f4eafbf5f0e494b942ea8
java110-db/src/main/resources/mapper/community/MenuServiceDaoImplMapper.xml
@@ -222,7 +222,7 @@
    <select id="getMenuInfo" parameterType="Map" resultType="Map">
        select DISTINCT t.m_id mId,t.name,t.g_id gId,t.url,t.seq,t.p_id pId,t.description,t.is_show isShow,
        if(t.is_show='Y','显示','不显示') isShowName,
        t.m_id pId,t.name pName,mg.name menuGroupName,mg.store_type,st.name storeTypeName
        t.m_id pId,t.name pName,mg.name gName,mg.store_type,st.name storeTypeName
        from m_menu t,p_privilege p,m_menu_group mg,store_type st
        where t.status_cd= '0'
        and p.status_cd= '0'
@@ -231,6 +231,9 @@
        and mg.store_type = st.store_type_cd
        <if test="gId !=null and gId != ''">
            and t.g_id= #{gId}
        </if>
        <if test="gName !=null and gName != ''">
            and mg.name= #{gName}
        </if>
        <if test="name !=null and name != ''">
            and t.name like concat('%',#{name},'%')
@@ -333,6 +336,9 @@
        <if test="gId !=null and gId != ''">
            and t.g_id= #{gId}
        </if>
        <if test="gName !=null and gName != ''">
            and mg.name= #{gName}
        </if>
        <if test="name !=null and name != ''">
            and t.name like concat('%',#{name},'%')
        </if>