From b50a43845b2b05198c93b573a2e1bdc0c80a6b8c Mon Sep 17 00:00:00 2001 From: Jay <csj123456> Date: 星期五, 03 一月 2025 11:29:47 +0800 Subject: [PATCH] 增加压缩空气月指标执行任务 --- shasteel-biz/src/main/java/com/iailab/module/shasteel/job/dao/ScheduleJobDao.java | 17 ++--------------- 1 files changed, 2 insertions(+), 15 deletions(-) diff --git a/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/dao/ScheduleJobDao.java b/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/dao/ScheduleJobDao.java index 0792a00..bf7ca74 100644 --- a/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/dao/ScheduleJobDao.java +++ b/shasteel-biz/src/main/java/com/iailab/module/shasteel/job/dao/ScheduleJobDao.java @@ -1,11 +1,7 @@ package com.iailab.module.shasteel.job.dao; -import com.baomidou.dynamic.datasource.annotation.Master; -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.common.dao.BaseDao; import com.iailab.module.shasteel.job.entity.ScheduleJobEntity; -import com.iailab.module.shasteel.job.vo.ScheduleJobReqVO; import org.apache.ibatis.annotations.Mapper; import java.util.Map; @@ -15,17 +11,8 @@ * * @author Mark sunlightcs@gmail.com */ -@Master @Mapper -public interface ScheduleJobDao extends BaseMapperX<ScheduleJobEntity> { - - default PageResult<ScheduleJobEntity> selectPage(ScheduleJobReqVO reqVO) { - return selectPage(reqVO, new LambdaQueryWrapperX<ScheduleJobEntity>() - .likeIfPresent(ScheduleJobEntity::getBeanName, reqVO.getBeanName()) - .eqIfPresent(ScheduleJobEntity::getTenantId, reqVO.getTenantId()) - .orderByDesc(ScheduleJobEntity::getCreateDate)); - - } +public interface ScheduleJobDao extends BaseDao<ScheduleJobEntity> { /** * 批量更新状态 -- Gitblit v1.9.3