package com.utic.center.utic.traf.server.dao.repository.utic;

import com.utic.center.common.annotation.SqlOperation;
import com.utic.center.utic.traf.server.dao.mapper.utic.LinkCollectPRIOETCMapper;
import com.utic.center.utic.traf.server.dto.LinkCollectDto;
import com.utic.center.utic.traf.server.dto.LinkCollectParam;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@RequiredArgsConstructor
public class LinkCollectPrioEtcRepository {

    private final LinkCollectPRIOETCMapper mapper;

    @SqlOperation(type = SqlOperation.SqlType.SELECT, table = "CURLINKST_MOCT_PRIVATE_LOG")
    public List<LinkCollectDto> findAllLinkTrafPRIOETC(LinkCollectParam param) {
        return this.mapper.findAllLinkTrafPRIOETC(param);
    }
}
