luxiaotao1123
2021-06-21 1eed0fc9a6f4f029fdb804afe4b881add8ea3c38
src/main/java/com/zy/common/service/erp/task/ErpScheduler.java
@@ -221,6 +221,13 @@
                if (!outStockService.insert(result.get(i))) {
                    log.info("出库通知明细表OutStockBillEntry同步失败");
                };
            } else {
                // 数量有变化进行更新
                if (Double.doubleToLongBits(main.getFAuxQty().doubleValue()) != Double.doubleToLongBits(result.get(i).getFAuxQty().doubleValue())) {
                    if (!outStockService.update(result.get(i), new EntityWrapper<OutStockBillEntry>().eq("FInterID", result.get(i).getFInterID()).and().eq("FEntryID", result.get(i).getFEntryID()))) {
                        log.info("出库通知明细表OutStockBillEntry同步失败");
                    };
                }
            }
        }
    }