package com.jwipc.sys.service.impl;

import com.jwipc.sys.entity.UserShortcut;
import com.jwipc.sys.mapper.UserShortcutMapper;
import com.jwipc.sys.model.po.UserShortcutPO;
import com.jwipc.sys.service.IUserShortcutService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户快捷菜单，从当前登录用户的可用资源中进行选择配置 服务实现类
 * </p>
 *
 * @author ZhangJie
 * @since 2024-02-04
 */
@Service
public class UserShortcutServiceImpl extends ServiceImpl<UserShortcutMapper, UserShortcut> implements IUserShortcutService {

    @Override
    public List<UserShortcutPO> selectUserShortcut(Long userId) {
        return this.baseMapper.selectUserShortcut(userId);
    }
}
