import com.bailuntec.domain.entity.JobPointLog;
import com.bailuntec.job.SemiStockReportSyncJob;
import org.junit.jupiter.api.Test;

import java.time.LocalDateTime;

public class SyncSemiTest {

    @Test
    public void testStock() {
        // String jobName, Integer pageIndex, Integer pageSize, Integer type, Integer intervalTime, LocalDateTime startTime, LocalDateTime endTime
        new SemiStockReportSyncJob().executeJob(null, new JobPointLog("stock", 1, 100, 1, 1, LocalDateTime.of(2019, 10, 01, 00, 00, 00), LocalDateTime.of(2019, 10, 15, 00, 00, 00)));
    }
}
