#
luxiaotao1123
2021-03-31 c8f89c1e9353d6e530b8b7fe93c15686251b7d65
src/main/java/zy/cloud/wms/common/service/erp/ErpScheduler.java
@@ -271,7 +271,7 @@
    /**
     * 持久化销售订单
     */
    @Scheduled(cron = "0/45 * * * * ? ")
    @Scheduled(cron = "0/5 * * * * ? ")
    @Transactional
//    @PostConstruct
    public void getOrdersExecute(){
@@ -300,7 +300,7 @@
//                                .ne("bType_id", data.getBTypeID())
                                ) > 0) {
//                            log.error("{}单号已存在", data.getNumber());
                            complete = false;
//                            complete = false;
                            continue;
                        }
                        for (GetOrderResultDetl0 detl0 : data.getDetail()) {
@@ -313,6 +313,7 @@
                                    detl0.getQty(),    // 商品数量
                                    detl0.getQty(),    // 总数量
                                    detl0.getPrice(),    // 商品单价
                                    detl0.getRowNo(),       // 商品明细行号
                                    detl0.getComment(),    // 商品备注[非空]
                                    0,    // 状态
                                    now,    // 添加时间
@@ -420,7 +421,7 @@
    /**
     * 库存上传
     */
    @Scheduled(cron = "0/15 * * * * ? ")
//    @Scheduled(cron = "0/15 * * * * ? ")
    @GetMapping("test2")
    public void uploadStockExecute(){
        try {