package com.zehong.quartz.task;

import com.zehong.system.service.ITWarningInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("warningInfoTask")
public class WarningInfoTask {

    @Autowired
    private ITWarningInfoService warningInfoService;

    /**
     * 自动警告提醒
     */
    public void autoWarningInfo(){
        warningInfoService.autoInsertWarningInfo();
    }

}
