From 53dde9c7ba6a26d44bfd5ccf0c0cdb37ada9288a Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期三, 16 九月 2026 19:56:41 +0800
Subject: [PATCH] fix: 产品父类名称适配

---
 src/main/java/com/ruoyi/stock/service/impl/StockInventoryServiceImpl.java |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/ruoyi/stock/service/impl/StockInventoryServiceImpl.java b/src/main/java/com/ruoyi/stock/service/impl/StockInventoryServiceImpl.java
index db3e2b3..8a9a973 100644
--- a/src/main/java/com/ruoyi/stock/service/impl/StockInventoryServiceImpl.java
+++ b/src/main/java/com/ruoyi/stock/service/impl/StockInventoryServiceImpl.java
@@ -399,6 +399,8 @@
         String customer = StringUtils.isBlank(stock.getCustomer()) ? "鏃犲鎴�" : stock.getCustomer();
         customerNode.setCustomer(customer);
         customerNode.setLabel(customer);
+        customerNode.setProductionDate(stock.getProductionDate());
+        customerNode.setValidityPeriod(stock.getValidityPeriod());
         customerNode.setNodeType("customer");
         customerNode.setChildren(new ArrayList<>());
 

--
Gitblit v1.9.3