master
admin 2 years ago
parent e8be747527
commit b0fec590fc

@ -1,9 +1,7 @@
package com.glxp.api.task;
import com.glxp.api.dao.schedule.ScheduledDao;
import com.glxp.api.entity.system.ScheduledEntity;
import com.glxp.api.idc.service.IdcService;
import com.glxp.api.req.system.ScheduledRequest;
import javax.annotation.Resource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.EnableScheduling;
@ -12,7 +10,10 @@ import org.springframework.scheduling.config.ScheduledTaskRegistrar;
import org.springframework.scheduling.support.CronTrigger;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
import com.glxp.api.dao.schedule.ScheduledDao;
import com.glxp.api.entity.system.ScheduledEntity;
import com.glxp.api.idc.service.IdcService;
import com.glxp.api.req.system.ScheduledRequest;
@ -49,7 +50,7 @@ public class AsyncUdiTask implements SchedulingConfigurer {
private void process() {
logger.info("syncIdcUdi----process------------");
//idcService.asyncUdiTask();
idcService.asyncUdiTask();
}
}

Loading…
Cancel
Save