package com.mes.mapper.userInfo; import com.mes.entity.userInfo.SysMenu; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Select; import java.util.List; @Mapper public interface SysMenuMapper { @Select("select a.id, a.menuName from sys_menu as a where a.state=1 order by a.listSort") List findAll(); }