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

import java.util.List;
import javax.annotation.Resource;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import cn.ezhizao.project.system.mapper.SysModuleDetailMapper;
import cn.ezhizao.project.system.domain.SysModuleDetail;
import cn.ezhizao.project.system.service.ISysModuleDetailService;

/**
 * 模块菜单Service业务层处理
 *
 * @author ruoyi
 * @date 2023-10-24
 */
@Service
public class SysModuleDetailServiceImpl  extends ServiceImpl<SysModuleDetailMapper, SysModuleDetail> implements ISysModuleDetailService
{
    @Resource
    private SysModuleDetailMapper sysModuleDetailMapper;

    /**
     * 查询模块菜单列表
     *
     * @param sysModuleDetail 模块菜单
     * @return 模块菜单
     */
    @Override
    public List<SysModuleDetail> getList(SysModuleDetail sysModuleDetail)
    {
        return sysModuleDetailMapper.getList(sysModuleDetail);
    }

    /**
     * 物理删除
     * @param sysModuleDetail
     * @return 删除结果
     */
    @Override
    public int physicalDelete(SysModuleDetail sysModuleDetail){ return sysModuleDetailMapper.physicalDelete(sysModuleDetail); };

}
