From 28a4becf1c58771f843b00cc0fa4e7c8e3c6f2f6 Mon Sep 17 00:00:00 2001 From: curry772 Date: Mon, 20 Jul 2026 11:10:56 +0900 Subject: [PATCH] =?UTF-8?q?threshhold=20=EB=B0=8F=20threshholdpersecond=20?= =?UTF-8?q?=EA=B0=92=20null=20=EC=B2=B4=ED=81=AC=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/eactive/eai/common/inflow/InflowControlDAO.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/eactive/eai/common/inflow/InflowControlDAO.java b/src/main/java/com/eactive/eai/common/inflow/InflowControlDAO.java index f8f8838..6890cd8 100644 --- a/src/main/java/com/eactive/eai/common/inflow/InflowControlDAO.java +++ b/src/main/java/com/eactive/eai/common/inflow/InflowControlDAO.java @@ -104,8 +104,9 @@ public class InflowControlDAO extends BaseDAO { for (InflowControl inflowControl : inflowControls) { InflowTargetVO vo = new InflowTargetVO(); vo.setName(inflowControl.getId().getName()); - vo.setThreshold(inflowControl.getThreshold()); - vo.setThresholdPerSecond(inflowControl.getThresholdpersecond()); + vo.setThreshold(inflowControl.getThreshold() == null ? 0 : inflowControl.getThreshold()); + vo.setThresholdPerSecond( + inflowControl.getThresholdpersecond() == null ? 0 : inflowControl.getThresholdpersecond()); vo.setThresholdTimeUnit(inflowControl.getThresholdtimeunit()); vo.setActivate(!"0".equals(inflowControl.getUseyn())); targetList.put(vo.getName(), vo);