4 天以前 741918a903e17b2ec7522556d2c043b8d35dd8a1
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)));