package com.zjrs.zwnw.zj.schedule;

import com.zjrs.zwnw.zj.bpo.GccrcBPO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;

import jakarta.annotation.Resource;

@Service
public class ZjSchedule {

	private static final Logger LOG = LoggerFactory.getLogger(ZjSchedule.class);

	@Resource
	private GccrcBPO gccrcBPO;

	@Scheduled(cron = "0 0 1 * * ?")
    public void preTimer(){
		LOG.info("专技电子卡作废定时器");
        gccrcBPO.updateRckzt();
	}
}
