From 07c510fc4ccaf5e526aaa0efe18ec14cfba27cb5 Mon Sep 17 00:00:00 2001
From: 潘志宝 <979469083@qq.com>
Date: 星期四, 09 一月 2025 16:52:43 +0800
Subject: [PATCH] 预测项运行状态查询

---
 iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/vo/MmPredictItemPageReqVO.java |    1 +
 iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictItemDao.xml                           |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/vo/MmPredictItemPageReqVO.java b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/vo/MmPredictItemPageReqVO.java
index ff47851..da283e0 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/vo/MmPredictItemPageReqVO.java
+++ b/iailab-module-model/iailab-module-model-biz/src/main/java/com/iailab/module/model/mcs/pre/vo/MmPredictItemPageReqVO.java
@@ -22,4 +22,5 @@
     private String itemtypename;
     private String modulename;
     private String status;
+    private Integer runStatus;
 }
\ No newline at end of file
diff --git a/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictItemDao.xml b/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictItemDao.xml
index 5b72ac8..58885d1 100644
--- a/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictItemDao.xml
+++ b/iailab-module-model/iailab-module-model-biz/src/main/resources/mapper/mcs/MmPredictItemDao.xml
@@ -67,6 +67,9 @@
             <if test="params.modulename != null and params.modulename != ''">
                 AND TDMM.modulename LIKE CONCAT('%', #{params.modulename},'%')
             </if>
+            <if test="params.runStatus != null">
+                AND TMIS.status = #{params.runStatus}
+            </if>
         </where>
         ORDER BY TMPI.CREATE_TIME DESC
     </select>

--
Gitblit v1.9.3