From a440ec3bfaa1363f5841100b8948d852971a2eb1 Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期二, 10 十二月 2024 13:19:58 +0800 Subject: [PATCH] MmPredictAlarmConfigService --- iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/dao/MmPredictItemDao.java | 16 ++++++---------- 1 files changed, 6 insertions(+), 10 deletions(-) diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/dao/MmPredictItemDao.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/dao/MmPredictItemDao.java index b472ede..8786e02 100644 --- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/dao/MmPredictItemDao.java +++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/dao/MmPredictItemDao.java @@ -1,14 +1,9 @@ package com.iailab.module.model.mcs.pre.dao; import com.baomidou.mybatisplus.core.metadata.IPage; -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.pre.entity.MmPredictItemEntity; -import com.iailab.module.model.mcs.pre.entity.MmPredictItemEntity; -import com.iailab.module.model.mcs.pre.entity.MmPredictItemEntity; -import com.iailab.module.model.mcs.pre.vo.DmModulePageReqVO; import com.iailab.module.model.mcs.pre.vo.MmPredictItemPageReqVO; import com.iailab.module.model.mcs.pre.vo.MmPredictItemRespVO; import com.iailab.module.model.mdk.vo.ItemVO; @@ -27,16 +22,17 @@ @Mapper public interface MmPredictItemDao extends BaseMapperX<MmPredictItemEntity> { + IPage<MmPredictItemRespVO> getPageList(IPage<MmPredictItemEntity> page, @Param("params") MmPredictItemPageReqVO params); + + List<MmPredictItemRespVO> queryList(Map<String, Object> params); + List<ItemVO> getByModuleId(Map<String, Object> params); List<ItemVO> getItem(Map<String, Object> params); List<MergeItemVO> getMergeItemByItemId(Map<String, Object> params); - default PageResult<MmPredictItemEntity> selectPage(MmPredictItemPageReqVO reqVO) { - return selectPage(reqVO, new LambdaQueryWrapperX<MmPredictItemEntity>() - .likeIfPresent(MmPredictItemEntity::getItemno, reqVO.getItemno()) - .likeIfPresent(MmPredictItemEntity::getItemname, reqVO.getItemname()) - .orderByDesc(MmPredictItemEntity::getCreateTime)); + default IPage<MmPredictItemRespVO> selectPage(MmPredictItemPageReqVO reqVO) { + return getPageList(getPage(reqVO), reqVO); } } -- Gitblit v1.9.3