package cn.ezhizao.project.system.service.impl;

import cn.ezhizao.project.system.domain.SysVersionMenu;
import cn.ezhizao.project.system.mapper.SysVersionMenuMapper;
import cn.ezhizao.project.system.service.ISysVersionMenuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 版本菜单Service业务层处理
 *
 * @author ruoyi
 * @date 2023-10-24
 */
@Service
public class SysVersionMenuServiceImpl  extends ServiceImpl<SysVersionMenuMapper, SysVersionMenu> implements ISysVersionMenuService
{
    @Resource
    private SysVersionMenuMapper sysVersionMenuMapper;

    /**
     * 查询版本菜单列表
     *
     * @param sysVersionMenu 版本菜单
     * @return 版本菜单
     */
    @Override
    public List<SysVersionMenu> getList(SysVersionMenu sysVersionMenu)
    {
        return sysVersionMenuMapper.getList(sysVersionMenu);
    }

    /**
     * 物理删除
     * @param sysVersionMenu
     * @return 删除结果
     */
    @Override
    public int physicalDelete(SysVersionMenu sysVersionMenu){ return sysVersionMenuMapper.physicalDelete(sysVersionMenu); };

}
