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

import com.xueyi.system.resource.domain.dto.DmBackgroundDto;
import com.xueyi.system.resource.domain.query.DmBackgroundQuery;
import com.xueyi.system.resource.service.IDmBackgroundService;
import com.xueyi.system.resource.manager.IDmBackgroundManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 背景图素材管理 服务层处理
 *
 * @author xueyi
 */
@Service
public class DmBackgroundServiceImpl extends BaseServiceImpl<DmBackgroundQuery, DmBackgroundDto, IDmBackgroundManager> implements IDmBackgroundService {

    /**
     * 查询背景图素材对象列表 | 数据权限
     *
     * @param background 背景图素材对象
     * @return 背景图素材对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"DmBackgroundMapper"})
    public List<DmBackgroundDto> selectListScope(DmBackgroundQuery background) {
        return baseManager.selectList(background);
    }

}