package com.playlet.web.service.app.impl;

import com.playlet.system.domain.PlayletBanner;
import com.playlet.system.service.IPlayletBannerService;
import com.playlet.web.service.app.PlayletBannerAppService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author clunt
 */
@Slf4j
@Service
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class PlayletBannerAppServiceImpl implements PlayletBannerAppService {

    private final IPlayletBannerService iPlayletBannerService;

    @Override
    public List<PlayletBanner> getBannerList(PlayletBanner playletBanner) {
        return iPlayletBannerService.selectPlayletBannerList(playletBanner);
    }

}
