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

import com.utic.center.common.annotation.SqlOperation;
import com.utic.center.utic.stat.server.dao.mapper.UticStat04MinEtlpMapper;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Repository;

@Repository
@RequiredArgsConstructor
public class UticStat04MinEtlpRepository {

    private final UticStat04MinEtlpMapper mapper;

    @SqlOperation(type = SqlOperation.SqlType.INSERT, table = "RCV_LINK_TRAFFIC", param = "RCV_LINK_TRAFFIC@TPEGDB")
    public int insertRcvLinkTraffic(String past10Min) {
        return this.mapper.insertRcvLinkTraffic(past10Min);
    }

//    @SqlOperation(type = SqlOperation.SqlType.MERGE, table = "INCIDENT_CENTER", param = "INCIDENT_CENTER@UTISDB")
//    public int mergeIncidentCenter(String past10Min) {
//        return this.mapper.mergeIncidentCenter(past10Min);
//    }

}
