From 5bf42aa9950058f391805e6fb8d7376f4378924b Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 23 十二月 2024 16:16:55 +0800
Subject: [PATCH] cumulateHandle.getCurrent

---
 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