package com.chenyang.nse.bussiness.service.console.impl;

import com.chenyang.nse.bussiness.dao.table.base.TBaseMenuDao;
import com.chenyang.nse.bussiness.entity.orm.table.base.TBaseMenu;
import com.chenyang.nse.bussiness.service.console.ConsoleService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class ConsoleServiceImpl implements ConsoleService {
   @Autowired
   private TBaseMenuDao menuDao;

   public List<TBaseMenu> qeuryMenusByRoleId(String roleId) {
      List<TBaseMenu> list = this.menuDao.qeuryMenusByRoleId(roleId);
      return list;
   }
}
