package thyyxxk.webserver.dao.his.settings;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import thyyxxk.webserver.entity.settings.IntergrationMenu;
import thyyxxk.webserver.entity.settings.IntergrationPlatformRoleMenu;

import java.util.List;

@Mapper
public interface MenuSettingsDao extends BaseMapper<IntergrationMenu> {

    @Select("select * from t_intergration_menu order by type , sort  ")
    List<IntergrationMenu> getAll();

    @Select("select * from t_intergration_platform_role_menu")
    List<IntergrationPlatformRoleMenu> selectPlatformRoleMenu();

}
