package com.huimv.modular.timer.tasks;

import com.huimv.core.timer.TimerTaskRunner;
import com.huimv.modular.eartagregister.service.EartagRegisterService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * @Package : com.huimv.modular.timer.tasks
 * @Author : yuxuexuan
 * @Create : 2021/8/17 0017 19:15
 **/
@Component
public class UpdateYesterdayPig implements TimerTaskRunner {


    @Resource
    private EartagRegisterService eartagRegisterService;

    @Override
    public void action() {
        eartagRegisterService.updateYestdayPig();
    }
}
