From 89800665b27cf49b5e5bdb034df9d165c7382637 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期三, 25 十二月 2024 18:04:21 +0800 Subject: [PATCH] 调度记录查看 --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/dao/StScheduleSchemeDao.java | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/dao/StScheduleSchemeDao.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/dao/StScheduleSchemeDao.java index 418f09d..6a87c53 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/dao/StScheduleSchemeDao.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/sche/dao/StScheduleSchemeDao.java @@ -1,7 +1,11 @@ package com.iailab.module.model.mcs.sche.dao; +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.StScheduleSchemeEntity; +import com.iailab.module.model.mcs.sche.vo.StScheduleSchemePageReqVO; import org.apache.ibatis.annotations.Mapper; import java.util.Map; @@ -10,13 +14,13 @@ * @author PanZhibao * @date 2021年07月20日 9:08 */ +@TenantDS @Mapper public interface StScheduleSchemeDao extends BaseMapperX<StScheduleSchemeEntity> { - /** - * saveScheduleTime - * - * @param map - */ - void saveScheduleTime(Map map); + default PageResult<StScheduleSchemeEntity> selectPage(StScheduleSchemePageReqVO reqVO) { + return selectPage(reqVO, new LambdaQueryWrapperX<StScheduleSchemeEntity>() + .likeIfPresent(StScheduleSchemeEntity::getName, reqVO.getName()) + .orderByDesc(StScheduleSchemeEntity::getCreateTime)); + } } -- Gitblit v1.9.3