|
|
@@ -16,7 +16,6 @@ import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
-import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
@@ -39,7 +38,7 @@ public class syncProductStockCYTask {
|
|
|
|
|
|
private final Logger logger = LoggerFactory.getLogger(this.getClass());
|
|
|
|
|
|
- @Scheduled(cron = "0 0/2 * * * ?")
|
|
|
+ //@Scheduled(cron = "0 0/2 * * * ?")
|
|
|
public void syncProductStock() {
|
|
|
logger.info("sendProd-Begin:master {} ids {}");
|
|
|
try {
|