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