From 5f653cd83425db29ccf514e9fd966a90c7eeab32 Mon Sep 17 00:00:00 2001 From: dongyukun <1208714201@qq.com> Date: 星期四, 02 一月 2025 13:47:45 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleSchemeServiceImpl.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 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 623334c..bb3ddd6 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,16 +63,17 @@ @Override public List<StScheduleSchemeDTO> list(Map<String, Object> params) { QueryWrapper<StScheduleSchemeEntity> queryWrapper = new QueryWrapper<>(); - queryWrapper.eq("trigger_method", params.get("trigger_method")); - queryWrapper.eq("trigger_condition", params.get("trigger_condition")); + queryWrapper.eq("trigger_method", params.get("triggerMethod")); + queryWrapper.eq("trigger_condition", params.get("triggerCondition")); List<StScheduleSchemeEntity> list = baseDao.selectList(queryWrapper); return ConvertUtils.sourceToTarget(list, StScheduleSchemeDTO.class); } @Override - public void updateTime(String id, Date scheduleTime) { + public void updateTime(String id, Date scheduleTime, String statusCode) { StScheduleSchemeEntity entity = new StScheduleSchemeEntity(); entity.setId(id); + entity.setRunStatus(statusCode); entity.setScheduleTime(scheduleTime); baseDao.updateById(entity); } -- Gitblit v1.9.3