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

import com.utic.center.common.annotation.SqlOperation;
import com.utic.center.utic.traf.server.dao.mapper.moct.LinkCollectMOCTMapper;
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 LinkCollectMoctRepository {

    private final LinkCollectMOCTMapper mapper;

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