package com.tax.file.job;

import com.dangdang.ddframe.job.api.ShardingContext;
import com.dangdang.ddframe.job.api.simple.SimpleJob;
import com.tax.file.integration.zone.ZoneClient;
import com.tax.file.model.ZoneModel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


@Component
public class ZoneInfoJob implements SimpleJob {
//    @Autowired
//    private ZoneClient zoneClient;


    private  final Logger logger = LoggerFactory.getLogger(this.getClass());

    @Override
    public void execute(ShardingContext shardingContext) {
        logger.info("ZoneInfoJob is start");

//        zoneClient.findAllZoneList(new ZoneModel());

        logger.info("ZoneInfoJob is end");
    }
}
