huminmin
昨天 afbda46853803b5fdf5e41abb71858dbfed30b52
src/main/java/com/ruoyi/sales/service/impl/SalesLedgerServiceImpl.java
@@ -203,6 +203,13 @@
            if (shippingInfo != null) {
                product.setShippingStatus(shippingInfo.getStatus());
            }
            // 查询关联产品的UID
            if (product.getProductModelId() != null) {
                ProductModel productModel = productModelMapper.selectById(product.getProductModelId());
                if (productModel != null) {
                    product.setUidNo(productModel.getUidNo());
                }
            }
        }
        // 3.查询上传文件
@@ -911,6 +918,7 @@
            map.put("taxInclusiveUnitPrice", product.getTaxInclusiveUnitPrice().setScale(2, RoundingMode.HALF_UP).toString());
            map.put("taxInclusiveTotalPrice", product.getTaxInclusiveTotalPrice().setScale(2, RoundingMode.HALF_UP).toString());
            map.put("batchNo", product.getBatchNo());
            map.put("uidNo", product.getUidNo());
            // 查询凭证
            ProductModel productModel = productModelMapper.selectById(product.getProductModelId());
            if (productModel != null) {