From 6d75723f3e3bd43895db2470bc5fabb2314dbe8b Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期一, 06 一月 2025 13:27:46 +0800
Subject: [PATCH] 调度记录时间格式化

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/dao/StScheduleRecordDao.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/dao/StScheduleRecordDao.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/dao/StScheduleRecordDao.java
index f77fcc0..2c0cd2f 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/dao/StScheduleRecordDao.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/dao/StScheduleRecordDao.java
@@ -3,6 +3,7 @@
 import com.iailab.framework.common.pojo.PageResult;
 import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
 import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
+import com.iailab.framework.tenant.core.db.dynamic.TenantDS;
 import com.iailab.module.model.mcs.sche.entity.StScheduleRecordEntity;
 import com.iailab.module.model.mcs.sche.vo.StScheduleRecordPageReqVO;
 import org.apache.ibatis.annotations.Mapper;
@@ -12,11 +13,13 @@
  * @Description
  * @createTime 2024年09月06日
  */
+@TenantDS
 @Mapper
 public interface StScheduleRecordDao extends BaseMapperX<StScheduleRecordEntity> {
 
     default PageResult<StScheduleRecordEntity> selectPage(StScheduleRecordPageReqVO reqVO) {
         return selectPage(reqVO, new LambdaQueryWrapperX<StScheduleRecordEntity>()
+                .eqIfPresent(StScheduleRecordEntity::getSchemeId, reqVO.getSchemeId())
                 .likeIfPresent(StScheduleRecordEntity::getModelName, reqVO.getModelName())
                 .geIfPresent(StScheduleRecordEntity::getScheduleTime, reqVO.getStartTime())
                 .leIfPresent(StScheduleRecordEntity::getScheduleTime, reqVO.getEndTime())

--
Gitblit v1.9.3