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.BizEntrustMapper;
import cn.ezhizao.project.business.entrust.domain.BizEntrust;
import cn.ezhizao.project.business.entrust.service.IBizEntrustService;

/**
 * 委托Service业务层处理
 *
 * @author ruoyi
 * @date 2023-11-15
 */
@Service
public class BizEntrustServiceImpl  extends ServiceImpl<BizEntrustMapper, BizEntrust> implements IBizEntrustService
{
    @Resource
    private BizEntrustMapper bizEntrustMapper;

    /**
     * 查询委托列表
     *
     * @param bizEntrust 委托
     * @return 委托
     */
    @Override
    public List<BizEntrust> getList(BizEntrust bizEntrust)
    {
        return bizEntrustMapper.getList(bizEntrust);
    }

    /**
     * 物理删除
     * @param bizEntrust
     * @return 删除结果
     */
    @Override
    public int physicalDelete(BizEntrust bizEntrust){ return bizEntrustMapper.physicalDelete(bizEntrust); };

}
