From 5b952f77058a9da5af5e143a6c2c7ba195aa736d Mon Sep 17 00:00:00 2001
From: liriming <1343021927@qq.com>
Date: 星期二, 26 十一月 2024 16:08:10 +0800
Subject: [PATCH] 预测消息配置

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/dao/MmPredictItemDao.java |   19 +++++++++----------
 1 files changed, 9 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 abfd1a0..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,10 +1,8 @@
 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.module.model.mcs.pre.entity.MmPredictItemEntity;
+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.vo.MmPredictItemPageReqVO;
 import com.iailab.module.model.mcs.pre.vo.MmPredictItemRespVO;
@@ -20,20 +18,21 @@
  * @author PanZhibao
  * @date 2021年04月26日 11:35
  */
+@TenantDS
 @Mapper
 public interface MmPredictItemDao extends BaseMapperX<MmPredictItemEntity> {
 
-    /**
-     * 查询列表
-     *
-     * @param params
-     * @return
-     */
-    IPage<MmPredictItemRespVO> getPageList(IPage<MmPredictItemEntity> page, @Param("params") Map<String, Object> params);
+    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 IPage<MmPredictItemRespVO> selectPage(MmPredictItemPageReqVO reqVO) {
+        return getPageList(getPage(reqVO), reqVO);
+    }
 }

--
Gitblit v1.9.3