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

import com.prolog.eis.dao.PalletPosStrategyConfigMapper;
import com.prolog.eis.model.config.PalletPosStrategyConfig;
import com.prolog.eis.service.config.PalletPosStrategyConfigService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class PalletPosStrategyConfigServiceImpl implements PalletPosStrategyConfigService {

    private final PalletPosStrategyConfigMapper palletPosStrategyConfigMapper;

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