yuan
6 天以前 7cd9c2faa381dea97ef7902e7aaf6da8cdc6c0c0
src/main/java/com/ruoyi/account/service/impl/AccountingServiceImpl.java
@@ -421,6 +421,9 @@
        Map<String, BigDecimal> monthPayableMap = new HashMap<>();
        // 月度应收(销售出库-退货)
        salesOutboundVos.forEach(item -> {
            if (item.getShippingDate() == null) {
                return;
            }
            String month = item.getShippingDate().format(monthFormatter);
            monthReceivableMap.put(month, monthReceivableMap.getOrDefault(month, BigDecimal.ZERO)
                    .add(Optional.ofNullable(item.getOutboundAmount()).orElse(BigDecimal.ZERO)));