package com.xueyi.system.receiver.service.impl;

import com.xueyi.system.receiver.domain.dto.DmTenantReceiverDto;
import com.xueyi.system.receiver.domain.query.DmTenantReceiverQuery;
import com.xueyi.system.receiver.service.IDmTenantReceiverService;
import com.xueyi.system.receiver.manager.IDmTenantReceiverManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 租户接待者管理 服务层处理
 *
 * @author xueyi
 */
@Service
public class DmTenantReceiverServiceImpl extends BaseServiceImpl<DmTenantReceiverQuery, DmTenantReceiverDto, IDmTenantReceiverManager> implements IDmTenantReceiverService {

    /**
     * 查询租户接待者对象列表 | 数据权限
     *
     * @param tenantReceiver 租户接待者对象
     * @return 租户接待者对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"DmTenantReceiverMapper"})
    public List<DmTenantReceiverDto> selectListScope(DmTenantReceiverQuery tenantReceiver) {
        return baseManager.selectList(tenantReceiver);
    }

}