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

import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import com.xueyi.system.api.digitalmans.domain.dto.DmVisitorsDto;
import com.xueyi.system.staff.domain.query.DmVisitorsQuery;
import com.xueyi.system.staff.manager.IDmVisitorsManager;
import com.xueyi.system.staff.service.IDmVisitorsService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 访客管理 服务层处理
 *
 * @author xueyi
 */
@Service
public class DmVisitorsServiceImpl extends BaseServiceImpl<DmVisitorsQuery, DmVisitorsDto, IDmVisitorsManager> implements IDmVisitorsService {

    /**
     * 查询访客对象列表 | 数据权限
     *
     * @param dmVisitors 访客对象
     * @return 访客对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"DmVisitorsMapper"})
    public List<DmVisitorsDto> selectListScope(DmVisitorsQuery dmVisitors) {
        return baseManager.selectList(dmVisitors);
    }

}