package cn.ezhizao.project.business.entrust.service;

import cn.ezhizao.project.business.entrust.domain.BizEntrust;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * 委托Service接口
 *
 * @author ruoyi
 * @date 2023-11-15
 */
public interface IBizEntrustService extends IService<BizEntrust>
{
    /**
     * 查询委托列表
     *
     * @param bizEntrust 委托
     * @return 委托集合
     */
    public List<BizEntrust> getList(BizEntrust bizEntrust);

    /**
     * 物理删除
     * @param bizEntrust
     * @return 删除结果
     */
    public int physicalDelete(BizEntrust bizEntrust);
    public Map<Long,String> entrustSource(Long tenantId);
}
