package com.njcn.system.timer.tasks;

import com.njcn.harmonic.api.PmsLineWarningFeignClient;
import com.njcn.system.timer.TimerTaskRunner;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * @author xy
 */
@Component
@RequiredArgsConstructor
public class PmsLineWarningTaskRunner implements TimerTaskRunner {

    private final PmsLineWarningFeignClient pmsLineWarningFeignClient;

    @Override
    public void action(String date) {
        pmsLineWarningFeignClient.heBeiNorthAdd();
    }
}
