package cn.ezhizao.project.business.entrust.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.business.entrust.mapper.BizEntrustPermissionMapper;
import cn.ezhizao.project.business.entrust.domain.BizEntrustPermission;
import cn.ezhizao.project.business.entrust.service.IBizEntrustPermissionService;

/**
 * 委托权限Service业务层处理
 *
 * @author ruoyi
 * @date 2023-10-16
 */
@Service
public class BizEntrustPermissionServiceImpl  extends ServiceImpl<BizEntrustPermissionMapper, BizEntrustPermission> implements IBizEntrustPermissionService
{
    @Resource
    private BizEntrustPermissionMapper bizEntrustPermissionMapper;

    /**
     * 查询委托权限列表
     *
     * @param bizEntrustPermission 委托权限
     * @return 委托权限
     */
    @Override
    public List<BizEntrustPermission> getList(BizEntrustPermission bizEntrustPermission)
    {
        return bizEntrustPermissionMapper.getList(bizEntrustPermission);
    }

    /**
     * 物理删除
     * @param bizEntrustPermission
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizEntrustPermission bizEntrustPermission){ return bizEntrustPermissionMapper.physicalDelete(bizEntrustPermission); };

}
