#
luxiaotao1123
2021-03-23 0d334766bcd06f6ce8678caed5747600f74b4d21
src/main/java/zy/cloud/wms/common/service/erp/ErpScheduler.java
@@ -8,7 +8,6 @@
import com.core.exception.CoolException;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.GetMapping;
@@ -271,7 +270,7 @@
    /**
     * 持久化销售订单
     */
    @Scheduled(cron = "0/45 * * * * ? ")
//    @Scheduled(cron = "0/45 * * * * ? ")
    @Transactional
//    @PostConstruct
    public void getOrdersExecute(){
@@ -420,7 +419,7 @@
    /**
     * 库存上传
     */
    @Scheduled(cron = "0/15 * * * * ? ")
//    @Scheduled(cron = "0/15 * * * * ? ")
    @GetMapping("test2")
    public void uploadStockExecute(){
        try {