chenhj
2026-04-16 145f6c5c7a7a04eff490ae8436c0024850b78bc5
src/main/java/com/ruoyi/sales/service/impl/SalesLedgerServiceImpl.java
@@ -479,6 +479,8 @@
                        .eq(ShippingInfo::getSalesLedgerProductId, product.getId())
                        .orderByDesc(ShippingInfo::getCreateTime)
                        .last("limit 1"));
                product.setShippingCarNumber(shippingInfo.getShippingCarNumber());
                product.setShippingDate(shippingInfo.getShippingDate());
                if (shippingInfo != null) {
                    product.setShippingStatus(shippingInfo.getStatus());
                }