From efdc380e66bbc3112eb87d7522f0a37d082082e1 Mon Sep 17 00:00:00 2001
From: dengzedong <dengzedong@email>
Date: 星期四, 26 十二月 2024 09:42:07 +0800
Subject: [PATCH] double类型特殊处理 异常处理

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleSchemeServiceImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleSchemeServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleSchemeServiceImpl.java
index 2de77b6..623334c 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleSchemeServiceImpl.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleSchemeServiceImpl.java
@@ -63,7 +63,7 @@
     @Override
     public List<StScheduleSchemeDTO> list(Map<String, Object> params) {
         QueryWrapper<StScheduleSchemeEntity> queryWrapper = new QueryWrapper<>();
-        queryWrapper.eq("trigger_method", "1");
+        queryWrapper.eq("trigger_method", params.get("trigger_method"));
         queryWrapper.eq("trigger_condition", params.get("trigger_condition"));
         List<StScheduleSchemeEntity> list = baseDao.selectList(queryWrapper);
         return ConvertUtils.sourceToTarget(list, StScheduleSchemeDTO.class);

--
Gitblit v1.9.3