package com.prolog.eis.service.config.impl;

import com.prolog.eis.dao.OutboundStrategyConfigMapper;
import com.prolog.eis.model.config.OutboundStrategyConfig;
import com.prolog.eis.service.config.OutboundStrategyConfigService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class OutboundStrategyConfigServiceImpl implements OutboundStrategyConfigService {

    private final OutboundStrategyConfigMapper outboundStrategyConfigMapper;

    @Override
    public List<OutboundStrategyConfig> findAllConfig() {
        return outboundStrategyConfigMapper.findByMap(null, OutboundStrategyConfig.class);
    }
}
