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

import com.playlet.system.domain.PlayletPublicAccount;
import com.playlet.system.service.IPlayletPublicAccountService;
import com.playlet.web.service.app.PlayletPublicAccountAppService;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
public class PlayletPublicAccountAppServiceImpl implements PlayletPublicAccountAppService {

    private final IPlayletPublicAccountService iPlayletPublicAccountService;

    @Override
    public PlayletPublicAccount getById(Long id) {
        PlayletPublicAccount playletPublicAccount = iPlayletPublicAccountService.getById(id);
        if(playletPublicAccount != null){
            // todo
        }
        return playletPublicAccount;
    }
}
