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

import com.playlet.system.domain.PlayletPlatformFlow;
import com.playlet.system.service.IPlayletPlatformFlowService;
import com.playlet.web.service.app.PlayletFlowAppService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class PlayletFlowAppServiceImpl implements PlayletFlowAppService {

    private final IPlayletPlatformFlowService iPlayletPlatformFlowService;

    @Override
    public List<PlayletPlatformFlow> getFlowList(PlayletPlatformFlow platformFlow) {
        return iPlayletPlatformFlowService.selectPlayletPlatformFlowList(platformFlow);
    }

}
