package com.xueyi.system.device.service;

import com.xueyi.common.web.entity.service.IBaseService;
import com.xueyi.system.api.device.domain.dto.DmDeviceTenantMergeDto;
import com.xueyi.system.api.device.domain.po.DmDeviceTenantMergePo;
import com.xueyi.system.device.domain.query.DmDeviceTenantMergeQuery;
import com.xueyi.tenant.api.source.domain.po.TeSourcePo;
import org.apache.ibatis.annotations.Param;

/**
 * 设备租户（企业）关联管理 服务层
 *
 * @author xueyi
 */
public interface IDmDeviceTenantMergeService extends IBaseService<DmDeviceTenantMergeQuery, DmDeviceTenantMergeDto> {

    DmDeviceTenantMergePo selectByDevId(String devId);
    DmDeviceTenantMergePo selectByDevSn(String devSn);

    TeSourcePo selectSourceByTenantId(Long  tenantId);
}