소스 검색

优化菜单重复问题

java110 6 년 전
부모
커밋
639afb0a9e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      java110-db/src/main/resources/mapper/community/MenuServiceDaoImplMapper.xml

+ 1 - 1
java110-db/src/main/resources/mapper/community/MenuServiceDaoImplMapper.xml

@@ -241,7 +241,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,
-        p.p_id pId,t.name pName
+        t.m_id pId,t.name pName
         from m_menu t,p_privilege p
         where t.status_cd= '0'
         and p.status_cd= '0'