package cn.iocoder.yudao.module.inspection.service;

import cn.iocoder.yudao.module.inspection.entity.InspectionBusinessChannel;
import com.baomidou.mybatisplus.extension.service.IService;

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

public interface InspectionBusinessChannelService extends IService<InspectionBusinessChannel> {
    List<InspectionBusinessChannel> getChannelTree();

    /**
     * 获取业务渠道和客户来源
     *
     * @param userId 用户id
     * @return
     */
    Map<String, Object> getBusinessChannelByUserId(Long userId);
}
