Bladeren bron

优化菜单功能

wuxw 1 jaar geleden
bovenliggende
commit
549426cc4b

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

@@ -289,7 +289,7 @@
             AND ppr.status_cd = '0'
             )
         </if>
-        order by t.seq
+        order by mg.name, t.seq
         <if test="page != -1 and page != null ">
             limit #{page}, #{row}
         </if>

+ 2 - 2
service-community/src/main/java/com/java110/community/dao/impl/MenuServiceDaoImpl.java

@@ -221,9 +221,9 @@ public class MenuServiceDaoImpl extends BaseServiceDao implements IMenuServiceDa
     public List<Map> getMenuInfo(Map info) throws DAOException {
         logger.debug("查询路由信息 入参 info : {}", info);
 
-        List<Map> businessMenuInfos = sqlSessionTemplate.selectList("menuServiceDaoImpl.getMenuInfo", info);
+        List<Map> infos = sqlSessionTemplate.selectList("menuServiceDaoImpl.getMenuInfo", info);
 
-        return businessMenuInfos;
+        return infos;
     }