#
luxiaotao1123
2021-08-09 ecea595664c413e6b0cfbb8a7e60f2d20ad75674
src/main/java/zy/cloud/wms/common/service/erp/ErpScheduler.java
@@ -35,7 +35,7 @@
@RestController
public class ErpScheduler {
    public static final String URI = "http://8.133.182.21:6220/api";
    public static final String URI = "http://123.60.34.127:6220/api";
    public static final String GET_ORDERS = "cM/basis/getOrders";
    public static final String GET_BASIS = "cM/basis/getBasis";
    public static final String UPLOAD_BILL = "cM/basis/uploadBill";
@@ -217,7 +217,7 @@
    /**
     * 商品下载
     */
    @Scheduled(cron = "0/5 * * * * ? ")
    @Scheduled(cron = "0 */2 * * * ? ")
    public void updateMatExecute(){
        try {
            Map<String, Object> param = new HashMap<>();
@@ -425,7 +425,7 @@
    /**
     * 持久化销售订单
     */
    @Scheduled(cron = "0/5 * * * * ? ")
    @Scheduled(cron = "0 */1 * * * ?")
    @Transactional
//    @PostConstruct
    public void getOrdersExecute(){
@@ -602,7 +602,10 @@
                            .doPost();
                    try {
                        docLogService.insertBatch(docLogs);
                        for (DocLog docLog : docLogs) {
                            docLogService.insert(docLog);
                        }
                    } catch (Exception e) {
                        log.error(e.getMessage());
                    }