From f7819b4bc08d3ee2fc391b79da8480e7c85d64fd Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期五, 28 三月 2025 13:57:25 +0800
Subject: [PATCH] ASDC

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

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleSuggestServiceImpl.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleSuggestServiceImpl.java
index 27b279d..1d4db1b 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleSuggestServiceImpl.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/service/impl/StScheduleSuggestServiceImpl.java
@@ -15,11 +15,9 @@
 import com.iailab.module.model.mcs.sche.vo.StScheduleSuggestSaveReqVO;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.stereotype.Service;
+import org.springframework.util.CollectionUtils;
 
-import java.util.Date;
-import java.util.List;
-import java.util.Map;
-import java.util.UUID;
+import java.util.*;
 
 /**
  * @author PanZhibao
@@ -82,4 +80,15 @@
                 .le(null != vo.getEndTime(),"schedule_time",vo.getEndTime());
         return ConvertUtils.sourceToTarget(baseDao.selectList(queryWrapper),ScheduleSuggestRespDTO.class);
     }
+
+    @Override
+    public List<StScheduleSuggestEntity> getList(List<String> scheduleObjList, Date predictTime) {
+        if (CollectionUtils.isEmpty(scheduleObjList)) {
+            return new ArrayList<>();
+        }
+        QueryWrapper<StScheduleSuggestEntity> queryWrapper = new QueryWrapper<>();
+        queryWrapper.in("schedule_obj", scheduleObjList);
+        queryWrapper.eq("schedule_time", predictTime);
+        return baseDao.selectList(queryWrapper);
+    }
 }
\ No newline at end of file

--
Gitblit v1.9.3