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

import com.xueyi.system.digitalmans.domain.dto.DmBroadcastDto;
import com.xueyi.system.digitalmans.domain.query.DmBroadcastQuery;
import com.xueyi.system.digitalmans.service.IDmBroadcastService;
import com.xueyi.system.digitalmans.manager.IDmBroadcastManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 播报管理 服务层处理
 *
 * @author xueyi
 */
@Service
public class DmBroadcastServiceImpl extends BaseServiceImpl<DmBroadcastQuery, DmBroadcastDto, IDmBroadcastManager> implements IDmBroadcastService {

    /**
     * 查询播报对象列表 | 数据权限
     *
     * @param broadcast 播报对象
     * @return 播报对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"DmBroadcastMapper"})
    public List<DmBroadcastDto> selectListScope(DmBroadcastQuery broadcast) {
        return baseManager.selectList(broadcast);
    }

}