From 2ad2948d0e1c4e0d9d5000c3eb02605c3aceed94 Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期四, 09 四月 2026 18:04:00 +0800
Subject: [PATCH] fix: 产品被绑定不允许删除
---
src/main/java/com/ruoyi/production/service/impl/ProductionRecordServiceImpl.java | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/production/service/impl/ProductionRecordServiceImpl.java b/src/main/java/com/ruoyi/production/service/impl/ProductionRecordServiceImpl.java
index 0289e84..54f30dd 100644
--- a/src/main/java/com/ruoyi/production/service/impl/ProductionRecordServiceImpl.java
+++ b/src/main/java/com/ruoyi/production/service/impl/ProductionRecordServiceImpl.java
@@ -307,6 +307,8 @@
paramEntity.setValueMode(orderParam.getValueMode());
paramEntity.setUnit(orderParam.getUnit());
paramEntity.setStandardValue(orderParam.getStandardValue());
+ paramEntity.setMinValue(orderParam.getMinValue());
+ paramEntity.setMaxValue(orderParam.getMaxValue());
}
}
productionProductRouteItemParamService.save(paramEntity);
@@ -752,6 +754,9 @@
paramEntity.setParamFormat(orderParam.getParamFormat());
paramEntity.setValueMode(orderParam.getValueMode());
paramEntity.setUnit(orderParam.getUnit());
+ paramEntity.setStandardValue(orderParam.getStandardValue());
+ paramEntity.setMinValue(orderParam.getMinValue());
+ paramEntity.setMaxValue(orderParam.getMaxValue());
}
}
productionProductRouteItemParamService.save(paramEntity);
--
Gitblit v1.9.3